mirror of https://git.ffmpeg.org/ffmpeg.git
mpegts: reduce av_log level for seek back to begin on unseekable protocols to info level.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1fb30586cf
commit
b2f88ce21c
|
@ -1567,7 +1567,7 @@ static int mpegts_read_header(AVFormatContext *s,
|
||||||
* probe buffer usually is big enough. Only warn if the seek failed
|
* probe buffer usually is big enough. Only warn if the seek failed
|
||||||
* on files where the seek should work. */
|
* on files where the seek should work. */
|
||||||
if (avio_seek(pb, pos, SEEK_SET) < 0)
|
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);
|
mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue