Fixed cDvbDevice::SetVideoDisplayFormat() in case of 16:9

This commit is contained in:
Klaus Schmidinger 2005-03-13 12:34:45 +01:00
parent 76ca67473c
commit 3c0ea98ab3
2 changed files with 3 additions and 2 deletions

View File

@ -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).

View File

@ -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) {