On Tue Mar 12 17:59:20 2024 +0000, Zebediah Figura wrote:
Is there a way we can just rely on aacparse instead of adding this code manually?
We need to generate the codec data instead of parsing it.
Unless we just give gstreamer some constant codec data, and pray that applications don't rely on `MF_MT_USER_DATA` existing, we need this code. It would also encode in a slightly wrong format (the constant one instead of the application-requested one) in that case.
If possible I'd like to generate the codec data *somehow*. But if we don't want to use this code and we find no alternative, then I guess we can't.