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

Anton Khirnov anton at khirnov.net
Mon Oct 2 12:25:10 EEST 2023


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.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list