dvbsuboverlay: Don't forward text gap events downstream

That gap is only for the subtitle stream and not for the video stream.
This commit is contained in:
Edward Hervey 2014-03-16 01:25:10 +01:00
parent e509f7d5f7
commit 7b15072714

View file

@ -1272,6 +1272,10 @@ gst_dvbsub_overlay_event_text (GstPad * pad, GstObject * parent,
gst_event_unref (event);
ret = TRUE;
break;
case GST_EVENT_GAP:
gst_event_unref (event);
ret = TRUE;
break;
case GST_EVENT_CAPS:
/* don't want to forward the subtitle caps */
gst_event_unref (event);