After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768279 - avmux/avdemux: Need to move from AVCodecContext to AVCodecParameters
avmux/avdemux: Need to move from AVCodecContext to AVCodecParameters
Status: RESOLVED DUPLICATE of bug 792900
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-01 13:43 UTC by Sebastian Dröge (slomo)
Modified: 2018-05-04 12:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2016-07-01 13:43:35 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).
Comment 1 Sebastian Dröge (slomo) 2016-07-01 13:47:58 UTC
It might make sense to make those functions based on codec parameters, and then use avcodec_parameters_to_context() and avcodec_parameters_from_context().
Comment 2 Luis de Bethencourt 2016-07-01 14:42:43 UTC
I can work on this on Monday. A nice way to learn this API I've never played with before.
Comment 3 Sebastian Dröge (slomo) 2018-05-04 12:59:59 UTC

*** This bug has been marked as a duplicate of bug 792900 ***