1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Removed a superfluous VIDEO_FREEZE call in the replay buffer

This commit is contained in:
Klaus Schmidinger 2001-07-22 09:34:55 +02:00
parent 06236395e7
commit 9dcd0fc6e3
2 changed files with 2 additions and 2 deletions

View File

@ -553,3 +553,4 @@ Video Disk Recorder Revision History
- Fixed high system load when displaying a still picture in replay. - Fixed high system load when displaying a still picture in replay.
- Fixed a hanging SVDRP connection if the client dies without issuing QUIT. - Fixed a hanging SVDRP connection if the client dies without issuing QUIT.
- Increased the frame buffer size to 192KB. - Increased the frame buffer size to 192KB.
- Removed a superfluous VIDEO_FREEZE call in the replay buffer.

View File

@ -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.85 2001/07/22 09:33:01 kls Exp $ * $Id: dvbapi.c 1.86 2001/07/22 09:34:55 kls Exp $
*/ */
#include "dvbapi.h" #include "dvbapi.h"
@ -869,7 +869,6 @@ void cReplayBuffer::Clear(bool Block)
Lock(); Lock();
cRingBuffer::Clear(); cRingBuffer::Clear();
playIndex = -1; playIndex = -1;
CHECK(ioctl(videoDev, VIDEO_FREEZE));
CHECK(ioctl(videoDev, VIDEO_CLEAR_BUFFER)); CHECK(ioctl(videoDev, VIDEO_CLEAR_BUFFER));
CHECK(ioctl(audioDev, AUDIO_CLEAR_BUFFER)); CHECK(ioctl(audioDev, AUDIO_CLEAR_BUFFER));
} }