mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed jumping to an editing mark when replay has been paused
This commit is contained in:
parent
ab4e3c7ef8
commit
0f52c4fe33
1
HISTORY
1
HISTORY
@ -588,3 +588,4 @@ Video Disk Recorder Revision History
|
|||||||
codes '0' (thanks to Markus Lang).
|
codes '0' (thanks to Markus Lang).
|
||||||
- Avoiding audio/video distortions in 'Transfer Mode'.
|
- Avoiding audio/video distortions in 'Transfer Mode'.
|
||||||
- Fixed replaying in case there is no index file.
|
- Fixed replaying in case there is no index file.
|
||||||
|
- Fixed jumping to an editing mark when replay has been paused.
|
||||||
|
4
dvbapi.c
4
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.92 2001/07/28 11:38:21 kls Exp $
|
* $Id: dvbapi.c 1.93 2001/07/28 11:45:04 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -1016,6 +1016,8 @@ void cReplayBuffer::Goto(int Index, bool Still)
|
|||||||
{
|
{
|
||||||
if (index) {
|
if (index) {
|
||||||
Clear(true);
|
Clear(true);
|
||||||
|
if (paused)
|
||||||
|
CHECK(ioctl(videoDev, VIDEO_CONTINUE));
|
||||||
if (++Index <= 0)
|
if (++Index <= 0)
|
||||||
Index = 1; // not '0', to allow GetNextIFrame() below to work!
|
Index = 1; // not '0', to allow GetNextIFrame() below to work!
|
||||||
uchar FileNumber;
|
uchar FileNumber;
|
||||||
|
Loading…
Reference in New Issue
Block a user