reversed fix for interlaced playback

This commit is contained in:
jojo61
2018-10-13 15:45:01 +02:00
parent 5f748c6275
commit a32b42c68d
3 changed files with 3 additions and 6 deletions

View File

@@ -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);
}
}