From: James Almer <jamrial@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] avformat/avformat: Deprecate AVFMT_ALLOW_FLUSH
Date: Mon, 25 Sep 2023 20:06:34 -0300
Message-ID: <5e7208b5-ed72-f2da-2e4d-5b92e9f8c827@gmail.com> (raw)
In-Reply-To: <AS8P250MB0744E08CA0BBC296101E084B8FFCA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM>
On 9/25/2023 7:45 PM, Andreas Rheinhardt wrote:
> 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 were no internal
> flags for output formats for a long time. But now there is
> and so use it by replacing the public flag with a private one.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> doc/APIchanges | 4 ++++
> libavdevice/pulse_audio_enc.c | 5 ++++
> libavformat/avformat.h | 6 +++--
> libavformat/fifo.c | 5 ++++
> libavformat/fifo_test.c | 5 ++++
> libavformat/hlsenc.c | 5 ++++
> libavformat/matroskaenc.c | 15 ++++++++++++
> libavformat/movenc.c | 45 +++++++++++++++++++++++++++++++++++
> libavformat/mpegtsenc.c | 5 ++++
> libavformat/mux.c | 6 +++++
> libavformat/mux.h | 6 +++--
> libavformat/oggenc.c | 25 +++++++++++++++++++
> libavformat/tee.c | 5 ++++
> libavformat/version_major.h | 1 +
> 14 files changed, 134 insertions(+), 4 deletions(-)
>
> diff --git a/doc/APIchanges b/doc/APIchanges
> index f333ff5b24..b9d50b1db5 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -2,6 +2,10 @@ The last version increases of all libraries were on 2023-02-09
>
> API changes, most recent first:
>
> +2023-09-26 - xxxxxxxxxx - lavf 60.xx.100 - avformat.h
> + Deprecate AVFMT_ALLOW_FLUSH without replacement. Users can always
> + flush any muxer by sending a NULL muxer.
NULL packet.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2023-09-25 23:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 22:45 Andreas Rheinhardt
2023-09-25 23:06 ` James Almer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5e7208b5-ed72-f2da-2e4d-5b92e9f8c827@gmail.com \
--to=jamrial@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git