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 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
