From: softworkz <ffmpegagent@gmail.com> To: ffmpeg-devel@ffmpeg.org Cc: Soft Works <softworkz-at-hotmail.com@ffmpeg.org>, softworkz <softworkz@hotmail.com>, Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Subject: [FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add webvtt extension and MIME type Date: Fri, 21 Feb 2025 15:13:22 +0000 Message-ID: <7550e41042a5546c6ff1f6a75be714165c6d4230.1740150802.git.ffmpegagent@gmail.com> (raw) In-Reply-To: <pull.53.v2.ffstaging.FFmpeg.1740150802.ffmpegagent@gmail.com> From: softworkz <softworkz@hotmail.com> The webvtt extension is sometimes used in HLS playlists. Signed-off-by: softworkz <softworkz@hotmail.com> --- libavformat/webvttdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index 6e60348764..6feda1585e 100644 --- a/libavformat/webvttdec.c +++ b/libavformat/webvttdec.c @@ -216,7 +216,8 @@ static const AVClass webvtt_demuxer_class = { const FFInputFormat ff_webvtt_demuxer = { .p.name = "webvtt", .p.long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"), - .p.extensions = "vtt", + .p.mime_type = "text/vtt", + .p.extensions = "vtt,webvtt", .p.priv_class = &webvtt_demuxer_class, .priv_data_size = sizeof(WebVTTContext), .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP, -- ffmpeg-codebot _______________________________________________ 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:[~2025-02-21 15:14 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-02-19 14:10 [FFmpeg-devel] [PATCH 0/2] avformat/hls demuxer: Add WebVTT subtitle support ffmpegagent 2025-02-19 14:10 ` [FFmpeg-devel] [PATCH 1/2] " softworkz 2025-02-21 9:18 ` Andreas Rheinhardt 2025-02-21 9:23 ` Soft Works 2025-02-21 11:56 ` Soft Works 2025-02-19 14:10 ` [FFmpeg-devel] [PATCH 2/2] avformat/webvttdec: Add webvtt extension and MIME type softworkz 2025-02-21 15:13 ` [FFmpeg-devel] [PATCH v2 0/2] avformat/hls demuxer: Add WebVTT subtitle support ffmpegagent 2025-02-21 15:13 ` [FFmpeg-devel] [PATCH v2 1/2] " softworkz 2025-02-21 15:13 ` softworkz [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=7550e41042a5546c6ff1f6a75be714165c6d4230.1740150802.git.ffmpegagent@gmail.com \ --to=ffmpegagent@gmail.com \ --cc=andreas.rheinhardt@outlook.com \ --cc=ffmpeg-devel@ffmpeg.org \ --cc=softworkz-at-hotmail.com@ffmpeg.org \ --cc=softworkz@hotmail.com \ /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