mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the still picture workaround in case the progress display is active
This commit is contained in:
parent
3985f8dd49
commit
7babc1034e
1
HISTORY
1
HISTORY
@ -1179,3 +1179,4 @@ Video Disk Recorder Revision History
|
|||||||
- Added Spanish language texts (thanks to Ruben Nunez Francisco).
|
- Added Spanish language texts (thanks to Ruben Nunez Francisco).
|
||||||
- Fixed resetting the "First day" timer parameter once the timer actually starts
|
- Fixed resetting the "First day" timer parameter once the timer actually starts
|
||||||
recording.
|
recording.
|
||||||
|
- Fixed the still picture workaround in case the progress display is active.
|
||||||
|
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.166 2002/03/29 11:32:47 kls Exp $
|
* $Id: dvbapi.c 1.167 2002/04/06 11:08:54 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbapi.h"
|
#include "dvbapi.h"
|
||||||
@ -1196,6 +1196,7 @@ void cReplayBuffer::DisplayFrame(uchar *b, int Length)
|
|||||||
#define MIN_IFRAME 400000
|
#define MIN_IFRAME 400000
|
||||||
for (int i = MIN_IFRAME / Length + 1; i > 0; i--)
|
for (int i = MIN_IFRAME / Length + 1; i > 0; i--)
|
||||||
safe_write(videoDev, b, Length);
|
safe_write(videoDev, b, Length);
|
||||||
|
usleep(10000); // allows the buffer to be displayed in case the progress display is active
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user