[FFmpeg-devel] [PATCH v2 1/3] avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH

Anton Khirnov anton at khirnov.net
Tue Sep 26 13:49:48 EEST 2023


Quoting Andreas Rheinhardt (2023-09-26 01:54:30)
> It is of no value to the user, because every muxer can always
> be flushed with a NULL packet. As its documentation shows
> ("If not set, the muxer will not receive a NULL packet in
> the write_packet function") it is actually an internal flag
> that has been publically exposed because there was no internal
> flags field for output formats for a long time. But now there is
> and so use it by replacing the public flag with a private one.

Is there any value for the callers in knowing whether flushing is a
no-op or actually does something?

Martin, any thoughts?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list