[FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

James Almer jamrial at gmail.com
Mon Oct 2 22:48:31 EEST 2023


On 10/2/2023 6:25 AM, Anton Khirnov wrote:
> Quoting Tomas Härdin (2023-09-28 13:27:53)
>> Yes, a typed union like this should work nicely. This way we keep
>> things related to each type of stream group separate.
> 
> I agree that this seems like a better solution than repurposing
> AVCodecParameters, but the union members probably need to be pointers to
> keep both the stream group and the type-specific structs extensible.

Good idea, will do that and re-send.


More information about the ffmpeg-devel mailing list