GNOME Bugzilla – Bug 768279
avmux/avdemux: Need to move from AVCodecContext to AVCodecParameters
Last modified: 2018-05-04 12:59:59 UTC
The former is deprecated in AVFormat for obvious reasons, the latter has almost the same API (for the things that matter for us). It's simple to change except for all our helper functions in gstavcodecmap.c that take a codec context and would require a lot of copy&paste work (the same functions are also used for the encoders and decoders, where we have an actual codec context).
It might make sense to make those functions based on codec parameters, and then use avcodec_parameters_to_context() and avcodec_parameters_from_context().
I can work on this on Monday. A nice way to learn this API I've never played with before.
*** This bug has been marked as a duplicate of bug 792900 ***