mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed starting replay while in transfer mode
This commit is contained in:
parent
7c79f61dd5
commit
76d2cd9f4b
2
HISTORY
2
HISTORY
@ -332,3 +332,5 @@ Video Disk Recorder Revision History
|
|||||||
- Implemented "On Disk Editing".
|
- Implemented "On Disk Editing".
|
||||||
- There is no more default 'timers.conf' file.
|
- There is no more default 'timers.conf' file.
|
||||||
- Added Italian language texts (thanks to Alberto Carraro).
|
- Added Italian language texts (thanks to Alberto Carraro).
|
||||||
|
- Fixed starting a replay session when the program is currently in "transfer
|
||||||
|
mode".
|
||||||
|
10
dvbapi.c
10
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.45 2001/01/07 17:00:50 kls Exp $
|
* $Id: dvbapi.c 1.46 2001/01/07 17:02:38 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -2164,10 +2164,6 @@ bool cDvbApi::SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization,
|
|||||||
{
|
{
|
||||||
if (videoDev >= 0) {
|
if (videoDev >= 0) {
|
||||||
StopTransfer();
|
StopTransfer();
|
||||||
if (transferringFromDvbApi) {
|
|
||||||
transferringFromDvbApi->StopTransfer();
|
|
||||||
transferringFromDvbApi = NULL;
|
|
||||||
}
|
|
||||||
SetPlayMode(videoDev, VID_PLAY_RESET);
|
SetPlayMode(videoDev, VID_PLAY_RESET);
|
||||||
struct frontend front;
|
struct frontend front;
|
||||||
ioctl(videoDev, VIDIOCGFRONTEND, &front);
|
ioctl(videoDev, VIDIOCGFRONTEND, &front);
|
||||||
@ -2229,6 +2225,10 @@ void cDvbApi::StopTransfer(void)
|
|||||||
transferBuffer = NULL;
|
transferBuffer = NULL;
|
||||||
SetPlayMode(videoDev, VID_PLAY_RESET);
|
SetPlayMode(videoDev, VID_PLAY_RESET);
|
||||||
}
|
}
|
||||||
|
if (transferringFromDvbApi) {
|
||||||
|
transferringFromDvbApi->StopTransfer();
|
||||||
|
transferringFromDvbApi = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int cDvbApi::SecondsToFrames(int Seconds)
|
int cDvbApi::SecondsToFrames(int Seconds)
|
||||||
|
Loading…
Reference in New Issue
Block a user