mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-12-27 07:21:07 +01:00
reversed fix for interlaced playback
This commit is contained in:
5
codec.c
5
codec.c
@@ -541,10 +541,7 @@ void CodecVideoFlushBuffers(VideoDecoder * decoder)
|
||||
frame = decoder->Frame;
|
||||
|
||||
if (decoder->VideoCtx) {
|
||||
while (avcodec_receive_frame(decoder->VideoCtx,frame) >= 0) {
|
||||
usleep(1);
|
||||
}
|
||||
// avcodec_flush_buffers(decoder->VideoCtx);
|
||||
avcodec_flush_buffers(decoder->VideoCtx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user