mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice()
This commit is contained in:
parent
20fd2553ff
commit
f99b293de4
@ -1140,6 +1140,7 @@ Reinhard Nissl <rnissl@gmx.de>
|
|||||||
for fixing a busy loop in fast forward if the next video data file is missing
|
for fixing a busy loop in fast forward if the next video data file is missing
|
||||||
for adding a debug error message to cReceiver::~cReceiver() in case it is still
|
for adding a debug error message to cReceiver::~cReceiver() in case it is still
|
||||||
attached to a device
|
attached to a device
|
||||||
|
for reporting a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice()
|
||||||
|
|
||||||
Richard Robson <richard_robson@beeb.net>
|
Richard Robson <richard_robson@beeb.net>
|
||||||
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
for reporting freezing replay if a timer starts while in Transfer Mode from the
|
||||||
|
2
HISTORY
2
HISTORY
@ -5453,3 +5453,5 @@ Video Disk Recorder Revision History
|
|||||||
channel in the Channels menu (reported by Halim Sahin).
|
channel in the Channels menu (reported by Halim Sahin).
|
||||||
- Fixed a missing '-' at the next to last line of SVDRP help texts (reported by
|
- Fixed a missing '-' at the next to last line of SVDRP help texts (reported by
|
||||||
Denis Knauf).
|
Denis Knauf).
|
||||||
|
- Added a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice() (reported
|
||||||
|
by Reinhard Nissl).
|
||||||
|
3
device.c
3
device.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "device.h"
|
||||||
@ -326,6 +326,7 @@ bool cDevice::SetPrimaryDevice(int n)
|
|||||||
primaryDevice = device[n];
|
primaryDevice = device[n];
|
||||||
primaryDevice->MakePrimaryDevice(true);
|
primaryDevice->MakePrimaryDevice(true);
|
||||||
primaryDevice->SetVideoFormat(Setup.VideoFormat);
|
primaryDevice->SetVideoFormat(Setup.VideoFormat);
|
||||||
|
primaryDevice->SetVolumeDevice(Setup.CurrentVolume);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
esyslog("ERROR: invalid primary device number: %d", n + 1);
|
esyslog("ERROR: invalid primary device number: %d", n + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user