summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-10-13 10:34:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-10-13 10:34:30 +0200
commitf99b293de4fd9b901d36420859e0945023bdfea2 (patch)
treec19e5d19a99e125c49c2f41cef8bdd5962f8af4a /device.c
parent20fd2553ff4db95369b1566d42200b6532727ca7 (diff)
downloadvdr-f99b293de4fd9b901d36420859e0945023bdfea2.tar.gz
vdr-f99b293de4fd9b901d36420859e0945023bdfea2.tar.bz2
Added a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice()
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index 89f7f2fd..c4f99259 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.143 2007/10/12 14:27:30 kls Exp $
+ * $Id: device.c 1.144 2007/10/13 10:30:13 kls Exp $
*/
#include "device.h"
@@ -326,6 +326,7 @@ bool cDevice::SetPrimaryDevice(int n)
primaryDevice = device[n];
primaryDevice->MakePrimaryDevice(true);
primaryDevice->SetVideoFormat(Setup.VideoFormat);
+ primaryDevice->SetVolumeDevice(Setup.CurrentVolume);
return true;
}
esyslog("ERROR: invalid primary device number: %d", n + 1);