[FFmpeg-devel] [PATCH 3/3] lavf/matroskadec: log when falling back to generic seeking

Rodger Combs rodger.combs at gmail.com
Sat Dec 9 04:24:30 EET 2017


---
 libavformat/matroskadec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 944ed795d5..fb1a27f4a8 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -3570,6 +3570,7 @@ static int matroska_read_seek(AVFormatContext *s, int stream_index,
     ff_update_cur_dts(s, st, st->index_entries[index].timestamp);
     return 0;
 err:
+    av_log(s, AV_LOG_VERBOSE, "Failed to seek using index; falling back to generic seek");
     // slightly hackish but allows proper fallback to
     // the generic seeking code.
     matroska_clear_queue(matroska);
-- 
2.15.1



More information about the ffmpeg-devel mailing list