mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed starting a recording on the primary device if there is a replay session active
This commit is contained in:
parent
7c2283b502
commit
056c902c21
@ -770,3 +770,7 @@ Richard Robson <richard_robson@beeb.net>
|
|||||||
Manfred Schmidt-Voigt <manfred.schmidt-voigt@mannitec.de>
|
Manfred Schmidt-Voigt <manfred.schmidt-voigt@mannitec.de>
|
||||||
for reporting a problem with runnign out of disk space while cutting in case
|
for reporting a problem with runnign out of disk space while cutting in case
|
||||||
there are still deleted recordings to remove
|
there are still deleted recordings to remove
|
||||||
|
|
||||||
|
Javier Marcet <lists@marcet.info>
|
||||||
|
for reporting a problem when starting a recording on the primary device if there
|
||||||
|
is a replay session active
|
||||||
|
2
HISTORY
2
HISTORY
@ -2325,3 +2325,5 @@ Video Disk Recorder Revision History
|
|||||||
Keil).
|
Keil).
|
||||||
- VDR now continues to start up, even if there is an error in setup.conf.
|
- VDR now continues to start up, even if there is an error in setup.conf.
|
||||||
- Fixed a bug in resetting OSD color palettes (thanks to Torsten Herz).
|
- Fixed a bug in resetting OSD color palettes (thanks to Torsten Herz).
|
||||||
|
- Fixed starting a recording on the primary device if there is a replay session
|
||||||
|
active (thanks to Javier Marcet for reporting this one).
|
||||||
|
5
menu.c
5
menu.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: menu.c 1.268 2003/08/17 08:52:07 kls Exp $
|
* $Id: menu.c 1.269 2003/08/24 14:28:44 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -25,6 +25,7 @@
|
|||||||
#include "sources.h"
|
#include "sources.h"
|
||||||
#include "status.h"
|
#include "status.h"
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
|
#include "transfer.h"
|
||||||
#include "videodir.h"
|
#include "videodir.h"
|
||||||
|
|
||||||
#define MENUTIMEOUT 120 // seconds
|
#define MENUTIMEOUT 120 // seconds
|
||||||
@ -3102,7 +3103,7 @@ bool cRecordControls::Start(cTimer *Timer, bool Pause)
|
|||||||
if (device) {
|
if (device) {
|
||||||
if (NeedsDetachReceivers) {
|
if (NeedsDetachReceivers) {
|
||||||
Stop(device);
|
Stop(device);
|
||||||
if (device == cDevice::ActualDevice())
|
if (device == cTransferControl::ReceiverDevice())
|
||||||
cControl::Shutdown(); // in case this device was used for Transfer Mode
|
cControl::Shutdown(); // in case this device was used for Transfer Mode
|
||||||
}
|
}
|
||||||
if (!device->SwitchChannel(channel, false)) {
|
if (!device->SwitchChannel(channel, false)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user