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

2017-12-08 Thread Rodger Combs
---
 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

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2017-12-08 Thread Carl Eugen Hoyos
2017-12-08 13:45 GMT+01:00 Rodger Combs :
> ---
>  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");

Sounds like a warning to me, no?

Carl Eugen
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2017-12-08 Thread Rodger Combs
---
 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

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel