tagmux: more discrete segment event dropping

This commit is contained in:
Mark Nauwelaerts 2012-03-27 18:16:53 +02:00
parent 18fe3ed9fa
commit fd24621464

View file

@ -460,6 +460,9 @@ gst_tag_mux_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
GST_WARNING_OBJECT (mux, "dropping newsegment event in %s format", GST_WARNING_OBJECT (mux, "dropping newsegment event in %s format",
gst_format_get_name (segment.format)); gst_format_get_name (segment.format));
gst_event_unref (event); gst_event_unref (event);
/* drop it quietly, so it is not seen as a failure to push event,
* which will turn into failure to push data as it is sticky */
result = TRUE;
break; break;
} }