Skip to content

Commit

Permalink
MythPlayer: Remove the half frame optimisation for PiP.
Browse files Browse the repository at this point in the history
This doesn't actually achieve anything following recent changes (other
than perhaps present some confusing jitterometer output).
  • Loading branch information
Mark Kendall committed May 10, 2011
1 parent 01f1c92 commit 714cf09
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -1663,15 +1663,6 @@ void MythPlayer::AVSync(VideoFrame *buffer, bool limit_delay)
int vsync_delay_clock = 0;
int64_t currentaudiotime = 0;

// attempt to reduce fps for standalone PIP
if (player_ctx->IsPIP() && framesPlayed % 2)
{
videosync->WaitForFrame(frameDelay + avsync_adjustment);
if (!using_null_videoout)
videoOutput->SetFramesPlayed(framesPlayed + 1);
return;
}

if (videoOutput->IsErrored())
{
VERBOSE(VB_IMPORTANT, LOC_ERR + "AVSync: "
Expand Down

0 comments on commit 714cf09

Please sign in to comment.