[FFmpeg-devel] [PATCH 1/4] avformat/concatdec: set seekable flag after opening the last file
Marton Balint
cus at passwd.hu
Thu Nov 22 02:39:04 EET 2018
After finishing the last file all durations and start times should be known.
Signed-off-by: Marton Balint <cus at passwd.hu>
---
libavformat/concatdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index bbe13136fa..a5883ec66e 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -525,6 +525,7 @@ static int open_next_file(AVFormatContext *avf)
if (++fileno >= cat->nb_files) {
cat->eof = 1;
+ cat->seekable = 1;
return AVERROR_EOF;
}
return open_file(avf, fileno);
--
2.16.4
More information about the ffmpeg-devel
mailing list