pbutils: Add function to parse RFC 6381 codecs field
authorEdward Hervey <edward@centricular.com>
Tue, 8 Mar 2022 08:46:33 +0000 (09:46 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Mar 2022 07:14:33 +0000 (07:14 +0000)
commitbce779e66d9d48f07b2ec62046437bfd75340b37
treea6dda4a48953baaedeea6705c692cb8bdc26311d
parent6fec2589308fc778f7eca4d43852101243161b1d
pbutils: Add function to parse RFC 6381 codecs field

This is the opposite of `gst_codec_utils_caps_get_mime_codec()`, which allows
elements to get the `GstCaps`

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1894>
subprojects/gst-plugins-base/gst-libs/gst/pbutils/codec-utils.c
subprojects/gst-plugins-base/gst-libs/gst/pbutils/codec-utils.h
subprojects/gst-plugins-base/tests/check/libs/pbutils.c