Another fix to the still picture workaround

This commit is contained in:
Klaus Schmidinger 2002-04-07 09:48:32 +02:00
parent 3581c20976
commit c5fac4ed21
3 changed files with 10 additions and 4 deletions

View File

@ -276,3 +276,7 @@ Dirk Wiebel <dirk@wiebel.de>
for reporting a bug in the editing process in case a previously edited file
with the same name was manually deleted on a system with more than one video
directory
Gerald Raaf <graaf@attglobal.net>
for helping to fix the still picture workaround in case the progress display
is active

View File

@ -1179,7 +1179,8 @@ Video Disk Recorder Revision History
- Added Spanish language texts (thanks to Ruben Nunez Francisco).
- Fixed resetting the "First day" timer parameter once the timer actually starts
recording.
- Fixed the still picture workaround in case the progress display is active.
- Fixed the still picture workaround in case the progress display is active
(thanks to Gerald Raaf).
- Fixed a problem with accessing the epg.data file before it is fully written
(thanks to Thilo Wunderlich for reporting this one).
- Now the EPG scan skips channels that have their 'Ca' parameter explicitly set

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbapi.c 1.169 2002/04/06 15:21:29 kls Exp $
* $Id: dvbapi.c 1.170 2002/04/07 09:35:51 kls Exp $
*/
#include "dvbapi.h"
@ -1194,9 +1194,10 @@ void cReplayBuffer::DisplayFrame(uchar *b, int Length)
CHECK(ioctl(videoDev, VIDEO_STILLPICTURE, &sp));
#else
#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);
usleep(10000); // allows the buffer to be displayed in case the progress display is active
usleep(1); // allows the buffer to be displayed in case the progress display is active
}
#endif
}