[FFmpeg-devel] [PATCH] avformat/mp3dec: set default disposition

Hendrik Leppkes h.leppkes at gmail.com
Sat Aug 24 14:13:25 EEST 2019


On Sat, Aug 24, 2019 at 11:28 AM Gyan <ffmpeg at gyani.pro> wrote:
>
> Fixes #8091, which reports what I consider a change rather than a
> regression since 11d3b03fcb2baae4324aac9481b9bd4a171d4345
> <http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=11d3b03fcb2baae4324aac9481b9bd4a171d4345>
>
> It may be good practice to set default disposition in all demuxers which
> only accept one stream of a type.
>

Any disposition should only be set if the container has any metadata
to indicate them, not blindly be set for no particular reason.
For the ticket in question, if you want to replace a stream in a file,
you should manually ensure its mapped properly.

- Hendrik


More information about the ffmpeg-devel mailing list