diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index 5723559069..70d704b5bb 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -977,6 +977,7 @@ mpegtsmux_clip_inc_running_time (GstCollectPads * pads, GST_DEBUG_OBJECT (cdata->pad, "clipping buffer on pad outside segment"); gst_buffer_unref (buf); *outbuf = NULL; + goto beach; } else { GST_LOG_OBJECT (cdata->pad, "buffer pts %" GST_TIME_FORMAT " -> %" GST_TIME_FORMAT " running time", @@ -1023,6 +1024,7 @@ mpegtsmux_clip_inc_running_time (GstCollectPads * pads, gst_buffer_unref (buf); } +beach: return GST_FLOW_OK; }