Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/906>
goto done;
}
+ /* If the caps don't include directions, use the ones that were
+ * previously set by the application.
+ */
+ if (direction == GST_RTP_HEADER_EXTENSION_DIRECTION_DEFAULT &&
+ priv->direction & GST_RTP_HEADER_EXTENSION_DIRECTION_INHERITED)
+ direction = priv->direction;
+
if (klass->set_attributes)
ret = klass->set_attributes (ext, direction, attributes);
else
*
* Since: 1.20
*/
+
struct _GstRTPHeaderExtensionClass
{
GstElementClass parent_class;