Allow FFmpeg renderers to enforce V-sync being enabled or disabled
This commit is contained in:
parent
fa93364ddd
commit
2c068a99a3
10 changed files with 51 additions and 0 deletions
|
|
@ -238,6 +238,11 @@ int VDPAURenderer::getDecoderCapabilities()
|
|||
return 0;
|
||||
}
|
||||
|
||||
IFFmpegRenderer::VSyncConstraint VDPAURenderer::getVsyncConstraint()
|
||||
{
|
||||
return VSYNC_ANY;
|
||||
}
|
||||
|
||||
void VDPAURenderer::renderFrameAtVsync(AVFrame* frame)
|
||||
{
|
||||
VdpStatus status;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue