mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 18:57:35 +00:00
demux_lavf: don't check for error when setting "keepside" flag
This flag doesn't exist on Libav (because they never do this insane packet merging stuff), so this would print unnecessary warnings there.
This commit is contained in:
parent
30ffbc65bd
commit
47bc87208b
@ -562,10 +562,7 @@ static int demux_open_lavf(demuxer_t *demuxer, enum demux_check check)
|
||||
avfc->flags |= AVFMT_FLAG_IGNIDX;
|
||||
/* Keep side data as side data instead of mashing it into the packet
|
||||
* stream. */
|
||||
if (av_opt_set(avfc, "fflags", "+keepside", 0) < 0) {
|
||||
MP_WARN(demuxer, "demux_lavf, couldn't set option keepdata; "
|
||||
"in-stream metadata updates will be ignored\n");
|
||||
}
|
||||
av_opt_set(avfc, "fflags", "+keepside", 0);
|
||||
|
||||
if (lavfdopts->probesize) {
|
||||
if (av_opt_set_int(avfc, "probesize", lavfdopts->probesize, 0) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user