From 3c0ea98ab3934f944d03919afacbcd33bff63be7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Mar 2005 12:34:45 +0100 Subject: [PATCH] Fixed cDvbDevice::SetVideoDisplayFormat() in case of 16:9 --- HISTORY | 1 + dvbdevice.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 202b741c..6fccfcc5 100644 --- a/HISTORY +++ b/HISTORY @@ -3457,3 +3457,4 @@ Video Disk Recorder Revision History with the same VPS time. - Fixed cDolbyRepacker to allow recording ProSieben HD broadcasts (thanks to Reinhard Nissl). +- Fixed cDvbDevice::SetVideoDisplayFormat() in case of 16:9 (thanks to Marco Schlüßler). diff --git a/dvbdevice.c b/dvbdevice.c index 1b297f8b..ce23f76d 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.125 2005/03/05 16:12:59 kls Exp $ + * $Id: dvbdevice.c 1.126 2005/03/13 12:34:00 kls Exp $ */ #include "dvbdevice.h" @@ -604,7 +604,7 @@ void cDvbDevice::SetVideoDisplayFormat(eVideoDisplayFormat VideoDisplayFormat) cDevice::SetVideoDisplayFormat(VideoDisplayFormat); if (HasDecoder()) { if (Setup.VideoFormat) { - CHECK(ioctl(fd_video, VIDEO_SET_DISPLAY_FORMAT, VIDEO_CENTER_CUT_OUT)); + CHECK(ioctl(fd_video, VIDEO_SET_DISPLAY_FORMAT, VIDEO_LETTER_BOX)); } else { switch (VideoDisplayFormat) {