pbutils: Don't include default vp9 parameters in resulting codec mime string
authorPhilippe Normand <philn@igalia.com>
Mon, 27 Nov 2023 10:36:01 +0000 (10:36 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 27 Nov 2023 12:14:54 +0000 (12:14 +0000)
commit36f653fdc53b03cbeeee0a3c758572e726a6b60b
tree8c9aa5fec415c77273cb1429a38fd6fe330b4dd8
parentb299760325d04f3c2ee1b1a9b22857fccfa00084
pbutils: Don't include default vp9 parameters in resulting codec mime string

According to the document defining the vp9 codec string, the optional fields
should all be present only if at least one of them has a non-default value.

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