Skip to content

Commit

Permalink
MythDVDPlayer: Force deinterlacing of playback.
Browse files Browse the repository at this point in the history
Anything that is 'video' will be deinterlaced, still frames will be
untouched. I'll refine further once my dvd collection gets unpacked.
  • Loading branch information
Mark Kendall committed Oct 7, 2011
1 parent 2c56a65 commit 1154868
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mythtv/libs/libmythtv/mythdvdplayer.cpp
Expand Up @@ -18,7 +18,9 @@ MythDVDPlayer::MythDVDPlayer(bool muted)

void MythDVDPlayer::AutoDeint(VideoFrame *frame, bool allow_lock)
{
MythPlayer::AutoDeint(frame, false);
(void)frame;
(void)allow_lock;
SetScanType(kScan_Interlaced);
}

void MythDVDPlayer::ReleaseNextVideoFrame(VideoFrame *buffer,
Expand Down Expand Up @@ -215,6 +217,7 @@ void MythDVDPlayer::DisplayLastFrame(void)
// clear the buffering state
SetBuffering(false);

SetScanType(kScan_Progressive);
DisplayDVDButton();

osdLock.lock();
Expand Down

0 comments on commit 1154868

Please sign in to comment.