From: "Tomas Härdin" <git@haerdin.se> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] [PATCH 1/2] lavf/webvttenc: avio_flush() output Date: Mon, 09 Jun 2025 22:59:20 +0200 Message-ID: <ee9adf0daa8b01992a6aaf4634a61ff8d22017f7.camel@haerdin.se> (raw) [-- Attachment #1: Type: text/plain, Size: 113 bytes --] Hi These two patches are a bit of a warmup for another pass at streamable subtitles. FATE passes. /Tomas [-- Attachment #2: 0001-lavf-webvttenc-avio_flush-output.patch --] [-- Type: text/x-patch, Size: 698 bytes --] From c5b1e1774e5d4e720295e6cb589eb7699e0ddaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se> Date: Fri, 16 May 2025 14:07:00 +0200 Subject: [PATCH 1/2] lavf/webvttenc: avio_flush() output This makes streaming webvtt possible --- libavformat/webvttenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/webvttenc.c b/libavformat/webvttenc.c index e71a6224ae..69f0477a3d 100644 --- a/libavformat/webvttenc.c +++ b/libavformat/webvttenc.c @@ -93,6 +93,7 @@ static int webvtt_write_packet(AVFormatContext *ctx, AVPacket *pkt) avio_write(pb, pkt->data, pkt->size); avio_printf(pb, "\n"); + avio_flush(pb); return 0; } -- 2.47.2 [-- Attachment #3: Type: text/plain, Size: 251 bytes --] _______________________________________________ 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".
next reply other threads:[~2025-06-09 20:59 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-06-09 20:59 Tomas Härdin [this message] 2025-06-09 21:00 ` [FFmpeg-devel] [PATCH 2/2] lavf/srtenc: " Tomas Härdin 2025-06-09 22:17 ` [FFmpeg-devel] [PATCH 1/2] lavf/webvttenc: " Andreas Rheinhardt 2025-06-10 21:08 ` Marton Balint 2025-06-13 11:02 ` Tomas Härdin
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=ee9adf0daa8b01992a6aaf4634a61ff8d22017f7.camel@haerdin.se \ --to=git@haerdin.se \ --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