diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-15 13:22:03 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-15 13:22:03 +0100 |
commit | 7a8cadd3935bcf8ac9dbc3ba0bbbf761c8cb202f (patch) | |
tree | d7c40cf2a0b785897352817b7a5d835c0123ce67 | |
parent | 825dd70bc4d3a247207fa6f490aa3f86376d9270 (diff) | |
download | vdr-7a8cadd3935bcf8ac9dbc3ba0bbbf761c8cb202f.tar.gz vdr-7a8cadd3935bcf8ac9dbc3ba0bbbf761c8cb202f.tar.bz2 |
Removed superfluous calls to SetVideoFormat() from device constructors
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | PLUGINS/src/dvbsddevice/dvbsdffdevice.c | 6 | ||||
-rw-r--r-- | device.c | 4 |
3 files changed, 4 insertions, 8 deletions
@@ -6875,3 +6875,5 @@ Video Disk Recorder Revision History - Added some missing 'const' to cDevice (thanks to Joachim Wilke). - Fixed handling the PrimaryLimit when requesting a device for live viewing (reported by Uwe Scheffler). +- Removed superfluous calls to SetVideoFormat() from device constructors. This + function is called in cDevice::SetPrimaryDevice(), anyway. diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.c b/PLUGINS/src/dvbsddevice/dvbsdffdevice.c index 17f842b6..cc6af339 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 2.30 2011/08/27 11:33:57 kls Exp $ + * $Id: dvbsdffdevice.c 2.31 2012/02/15 13:15:05 kls Exp $ */ #include "dvbsdffdevice.h" @@ -66,10 +66,6 @@ cDvbSdFfDevice::cDvbSdFfDevice(int Adapter, int Frontend, bool OutputOnly) fclose(f); } devVideoIndex = devVideoOffset >= 0 ? devVideoOffset++ : -1; - - // Video format: - - SetVideoFormat(Setup.VideoFormat); } cDvbSdFfDevice::~cDvbSdFfDevice() @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.48 2012/02/15 12:14:32 kls Exp $ + * $Id: device.c 2.49 2012/02/15 13:15:19 kls Exp $ */ #include "device.h" @@ -82,8 +82,6 @@ cDevice::cDevice(void) SetDescription("receiver on device %d", CardIndex() + 1); - SetVideoFormat(Setup.VideoFormat); - mute = false; volume = Setup.CurrentVolume; |