mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
tagmux: more discrete segment event dropping
This commit is contained in:
parent
18fe3ed9fa
commit
fd24621464
1 changed files with 3 additions and 0 deletions
|
@ -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_format_get_name (segment.format));
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue