diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 454da244d3..5f56266b6e 100644 --- a/gst/flv/gstflvmux.c +++ b/gst/flv/gstflvmux.c @@ -1008,7 +1008,7 @@ gst_flv_mux_buffer_to_tag_internal (GstFlvMux * mux, GstBuffer * buffer, guint8 *data, *bdata; gsize bsize; - if (GST_CLOCK_STIME_IS_VALID (cpad->dts)) { + if (!GST_CLOCK_STIME_IS_VALID (cpad->dts)) { pts = dts = cpad->last_timestamp / GST_MSECOND; } else { pts = cpad->pts / GST_MSECOND;