mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dvbsuboverlay: don't forward CAPS event from subtitle pad
May results in not-negotiated flow errors otherwise.
This commit is contained in:
parent
519cefdeee
commit
79f419c82d
1 changed files with 5 additions and 0 deletions
|
@ -1052,6 +1052,11 @@ gst_dvbsub_overlay_event_text (GstPad * pad, GstObject * parent,
|
|||
gst_event_unref (event);
|
||||
ret = TRUE;
|
||||
break;
|
||||
case GST_EVENT_CAPS:
|
||||
/* don't want to forward the subtitle caps */
|
||||
gst_event_unref (event);
|
||||
ret = TRUE;
|
||||
break;
|
||||
default:
|
||||
ret = gst_pad_push_event (render->srcpad, event);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue