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

Rodger Combs rodger.combs at gmail.com
Fri Dec 8 14:45:36 EET 2017


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

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 2d23f2ee84..f023e94e70 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -3567,6 +3567,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