Permalink
Browse files

MythDVDPlayer: Force deinterlacing of playback.

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...
1 parent 2c56a65 commit 1154868bd9d7b1257d2e1642587d7c83f4f87e3a Mark Kendall committed Oct 7, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 mythtv/libs/libmythtv/mythdvdplayer.cpp
@@ -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,
@@ -215,6 +217,7 @@ void MythDVDPlayer::DisplayLastFrame(void)
// clear the buffering state
SetBuffering(false);
+ SetScanType(kScan_Progressive);
DisplayDVDButton();
osdLock.lock();

0 comments on commit 1154868

Please sign in to comment.