diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-15 14:05:15 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-15 14:05:15 +0100 |
commit | af56e53315ae5b06ca695d2f233239410b6147b4 (patch) | |
tree | 823a9683ed4186129f46bbf321d320056fddd709 /PLUGINS/src/dvbsddevice/dvbsdffdevice.c | |
parent | 7a114d640c55339264a09296c372ec983695d165 (diff) | |
download | vdr-af56e53315ae5b06ca695d2f233239410b6147b4.tar.gz vdr-af56e53315ae5b06ca695d2f233239410b6147b4.tar.bz2 |
Refactored setup parameter handling for output devices
Diffstat (limited to 'PLUGINS/src/dvbsddevice/dvbsdffdevice.c')
-rw-r--r-- | PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index 437fd9eb..5711e04d 100644 --- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c +++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dvbsdffdevice.c 3.2 2014/02/27 15:34:33 kls Exp $ + * $Id: dvbsdffdevice.c 3.3 2014/03/15 12:35:21 kls Exp $ */ #include "dvbsdffdevice.h" @@ -241,21 +241,6 @@ void cDvbSdFfDevice::SetVideoFormat(bool VideoFormat16_9) SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat)); } -eVideoSystem cDvbSdFfDevice::GetVideoSystem(void) -{ - eVideoSystem VideoSystem = vsPAL; - if (fd_video >= 0) { - video_size_t vs; - if (ioctl(fd_video, VIDEO_GET_SIZE, &vs) == 0) { - if (vs.h == 480 || vs.h == 240) - VideoSystem = vsNTSC; - } - else - LOG_ERROR; - } - return VideoSystem; -} - void cDvbSdFfDevice::GetVideoSize(int &Width, int &Height, double &VideoAspect) { if (fd_video >= 0) { |