dvbsuboverlay: don't forward CAPS event from subtitle pad

May results in not-negotiated flow errors otherwise.
This commit is contained in:
Tim-Philipp Müller 2013-02-19 11:14:11 +00:00
parent 519cefdeee
commit 79f419c82d

View file

@ -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;