This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 1b82e58a3a26fec4d80b35d7feaf836e2a010c01
Author:     Gyan Doshi <[email protected]>
AuthorDate: Tue Feb 7 20:18:07 2023 +0530
Commit:     Gyan Doshi <[email protected]>
CommitDate: Tue May 5 12:54:40 2026 +0530

    avformat/segment: relay programs to child muxers
---
 libavformat/segment.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index 2c7ba0e776..346c55814e 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -183,6 +183,14 @@ static int segment_mux_init(AVFormatContext *s)
         }
     }
 
+    for (i = 0; i < s->nb_programs; i++) {
+        ret = av_program_copy(oc, (const AVFormatContext *)s, 
s->programs[i]->id, 0);
+        if (ret < 0) {
+            av_log(s, AV_LOG_ERROR, "unable to transfer program %d to child 
muxer\n", s->programs[i]->id);
+            return ret;
+        }
+    }
+
     return 0;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to