diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 884ee36dd9..262d0e19b6 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -3270,8 +3270,8 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad, } timestamp = gst_segment_to_running_time (&collect_pad->collect.segment, - GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf)) - if (!GST_CLOCK_TIME_IS_VALID (timestamp)) { + GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf)); + if (!GST_CLOCK_TIME_IS_VALID (timestamp)) { GST_WARNING_OBJECT (collect_pad->collect.pad, "Invalid buffer running time; dropping buffer"); gst_buffer_unref (buf);