[FFmpeg-devel] [PATCH] avformat/whip: set this muxer as experimental
James Almer
jamrial at gmail.com
Thu Jun 5 17:56:31 EEST 2025
On 6/5/2025 11:54 AM, Jack Lau via ffmpeg-devel wrote:
> Signed-off-by: Jack Lau <jacklau1222 at qq.com>
> ---
> libavformat/whip.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/libavformat/whip.c b/libavformat/whip.c
> index 0671e23635..e7cd57400d 100644
> --- a/libavformat/whip.c
> +++ b/libavformat/whip.c
> @@ -1733,6 +1733,12 @@ static av_cold int whip_init(AVFormatContext *s)
> int ret;
> WHIPContext *whip = s->priv_data;
>
> + if (s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
> + av_log(s, AV_LOG_ERROR,
> + "WHIP: This muxer is experimental, please set -strict experimental in order to enable it\n");
> + return AVERROR_EXPERIMENTAL;
> + }
> +
> if ((ret = initialize(s)) < 0)
> goto end;
I think the AVFMT_EXPERIMENTAL flag is used for this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250605/470c5ae9/attachment.sig>
More information about the ffmpeg-devel
mailing list