[FFmpeg-devel] [PATCH 1/4] avformat: add av_program_copy()

Gyan Doshi ffmpeg at gyani.pro
Wed Feb 8 18:03:53 EET 2023

On 2023-02-08 08:47 pm, Anton Khirnov wrote:
> Quoting Gyan Doshi (2023-02-07 15:58:47)
>> Needed to transfer programs in parent muxing contexts to child muxers,
>> like in hls, segment, tee muxers.
> If it's only intended for use in muxers, why is it public?

Could have worded the msg better. The intention wasn't to limit this 

The fn is motivated by a CLI HLS user's troubleshhoting but it is useful 
to any API user who uses
the public av_new_program and then copies the data manually.

That reminds me, I should update this to check for existing programs.


More information about the ffmpeg-devel mailing list