[FFmpeg-devel] [PATCH 3/3] avformat: deprecate AVFMT_FLAG_AUTO_BSF

James Almer jamrial at gmail.com
Wed Dec 6 21:56:44 EET 2017


On 11/26/2017 5:51 PM, James Almer wrote:
> The bitstream filters inserted by this option should not be optional.
> They are needed to succesfully mux files in some cases, and to prevent
> muxing broken files in others.
> 
> This is more in line with AVCodec.bsfs()
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavformat/avformat.h      | 4 +++-
>  libavformat/mux.c           | 3 ---
>  libavformat/options_table.h | 6 ++++--
>  libavformat/version.h       | 3 +++
>  4 files changed, 10 insertions(+), 6 deletions(-)

Now that VP9 streams can't be wrongly muxed anymore after commit
0c162854c1, this change is not strictly necessary. And since there's no
real way to enforce or guarantee the presence of specific bsfs in
libavcodec as required by libavformat at runtime, maybe it's best to
leave it as an optional feature.
So patch dropped unless people speak in favor of this change.


More information about the ffmpeg-devel mailing list