Skip to content

Commit

Permalink
Remove some code duplication between MythPlayer and MythDVDPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Jan 13, 2011
1 parent 08345db commit 23314b2
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions mythtv/libs/libmythtv/mythdvdplayer.cpp
Expand Up @@ -199,19 +199,7 @@ bool MythDVDPlayer::VideoLoop(void)
return !IsErrored();
}

if (videoPaused || isDummy)
{
usleep(frame_interval);
DisplayPauseFrame();
}
else
DisplayNormalFrame();

if (using_null_videoout && decoder)
decoder->UpdateFramesPlayed();
else
framesPlayed = videoOutput->GetFramesPlayed();
return !IsErrored();
return MythPlayer::VideoLoop();
}

void MythDVDPlayer::DisplayLastFrame(void)
Expand Down

0 comments on commit 23314b2

Please sign in to comment.