mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed switching to another channel via the EPG while a recording is being replayed
This commit is contained in:
parent
fc3e4acbe4
commit
f2c4f2ba92
2
HISTORY
2
HISTORY
@ -419,3 +419,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed SVDRP commands LSTC and LSTT to make them return an error message if
|
- Fixed SVDRP commands LSTC and LSTT to make them return an error message if
|
||||||
no channels or timers are defined.
|
no channels or timers are defined.
|
||||||
- Enhanced 'channels.conf.cable' (thanks to Hans-Peter Raschke).
|
- Enhanced 'channels.conf.cable' (thanks to Hans-Peter Raschke).
|
||||||
|
- Fixed switching to another channel via the EPG while a recording is being
|
||||||
|
replayed.
|
||||||
|
3
dvbapi.c
3
dvbapi.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: dvbapi.c 1.61 2001/02/24 13:13:19 kls Exp $
|
* $Id: dvbapi.c 1.62 2001/03/03 11:36:36 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -2136,6 +2136,7 @@ bool cDvbApi::SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization,
|
|||||||
if (videoDev >= 0) {
|
if (videoDev >= 0) {
|
||||||
cThreadLock ThreadLock(siProcessor); // makes sure the siProcessor won't access the vbi-device while switching
|
cThreadLock ThreadLock(siProcessor); // makes sure the siProcessor won't access the vbi-device while switching
|
||||||
StopTransfer();
|
StopTransfer();
|
||||||
|
StopReplay();
|
||||||
SetPlayMode(videoDev, VID_PLAY_RESET);
|
SetPlayMode(videoDev, VID_PLAY_RESET);
|
||||||
struct frontend front;
|
struct frontend front;
|
||||||
ioctl(videoDev, VIDIOCGFRONTEND, &front);
|
ioctl(videoDev, VIDIOCGFRONTEND, &front);
|
||||||
|
Loading…
Reference in New Issue
Block a user