mpegtsmux: fix build error

after e000a6f0a4, there is build error in bad plugins
this happens because, GST_CLOCK_STIME_IS_VALID () is being checked for pad_data
but it expects a GstClockTime parameter. Changing the check to 'dts'

https://bugzilla.gnome.org/show_bug.cgi?id=750961
This commit is contained in:
Vineeth TM 2015-06-15 10:34:56 +09:00 committed by Sebastian Dröge
parent f600a8ac9a
commit 95dd8d9662

View file

@ -1075,7 +1075,7 @@ mpegtsmux_clip_inc_running_time (GstCollectPads * pads,
else
dts = -((gint64) time);
if (GST_CLOCK_STIME_IS_VALID (pad_data))
if (!GST_CLOCK_TIME_IS_VALID (pad_data->min_dts))
pad_data->min_dts = dts;
if (dts < pad_data->min_dts) {