Add frame pacing toggle
This commit is contained in:
parent
c054536fab
commit
cfabaf334e
22 changed files with 81 additions and 51 deletions
|
|
@ -43,9 +43,9 @@ int SdlRenderer::getDecoderCapabilities()
|
|||
return CAPABILITY_REFERENCE_FRAME_INVALIDATION_AVC;
|
||||
}
|
||||
|
||||
IFFmpegRenderer::VSyncConstraint SdlRenderer::getVsyncConstraint()
|
||||
IFFmpegRenderer::FramePacingConstraint SdlRenderer::getFramePacingConstraint()
|
||||
{
|
||||
return VSYNC_ANY;
|
||||
return PACING_ANY;
|
||||
}
|
||||
|
||||
bool SdlRenderer::initialize(SDL_Window* window,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue