diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-10 15:40:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-10 15:40:08 +0200 |
commit | b2f88ce21cdf3c79a211d7237c3807490c319674 (patch) | |
tree | 953a93032a135cbd369fa821db0e7b89c6fc17fc /libavformat | |
parent | 1fb30586cfe2597491ca814cca0cc6ef87c9346d (diff) | |
download | ffmpeg-b2f88ce21cdf3c79a211d7237c3807490c319674.tar.gz |
mpegts: reduce av_log level for seek back to begin on unseekable protocols to info level.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 01c44a07b8..1facf3de69 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1567,7 +1567,7 @@ static int mpegts_read_header(AVFormatContext *s, * probe buffer usually is big enough. Only warn if the seek failed * on files where the seek should work. */ if (avio_seek(pb, pos, SEEK_SET) < 0) - av_log(s, AV_LOG_ERROR, "Unable to seek back to the start\n"); + av_log(s, pb->seekable ? AV_LOG_ERROR : AV_LOG_INFO, "Unable to seek back to the start\n"); mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1); |