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
|
|
@ -155,6 +155,11 @@ VAAPIRenderer::getDecoderCapabilities()
|
|||
return 0;
|
||||
}
|
||||
|
||||
IFFmpegRenderer::VSyncConstraint VAAPIRenderer::getVsyncConstraint()
|
||||
{
|
||||
return VSYNC_ANY;
|
||||
}
|
||||
|
||||
void
|
||||
VAAPIRenderer::renderFrameAtVsync(AVFrame* frame)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue