rtphdrext: Put simple caps generation as the base class default
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 23 Sep 2021 19:36:00 +0000 (15:36 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Sep 2021 20:04:55 +0000 (20:04 +0000)
commit498740fe5768dcd1f1c3df7851cd7422ba5b1e9c
treef0aec0e841363928bbf5b41dd48224720aeb0594
parentecf84cdd4e474cc8393bcd35fb56742b30b8af3e
rtphdrext: Put simple caps generation as the base class default

Instead of having a helper function that gets called by almost every
subclass, just let the base class set the caps fields automatically.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.c
subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtphdrext.h
subprojects/gst-plugins-good/gst/rtp/gstrtphdrext-colorspace.c
subprojects/gst-plugins-good/gst/rtpmanager/gstrtphdrext-rfc6464.c
subprojects/gst-plugins-good/gst/rtpmanager/gstrtphdrext-twcc.c