summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-06-15 10:34:56 +0900
committerSebastian Dröge <sebastian@centricular.com>2015-06-15 10:12:11 +0200
commit95dd8d9662c7060843021d64e85c4295bd1578e9 (patch)
treea6c7aaa2daf631ac46afa1cb3208b8b36bcfaccc /gst/mpegtsmux
parentf600a8ac9ad2f6b0ad37bcf7cfce5b21722129fc (diff)
downloadgstreamer-plugins-bad-95dd8d9662c7060843021d64e85c4295bd1578e9.tar.gz
mpegtsmux: fix build error
after e000a6f0a4984fbe81190df6cd439c70dafde3d6, 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
Diffstat (limited to 'gst/mpegtsmux')
-rw-r--r--gst/mpegtsmux/mpegtsmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 550fa1635..208c631df 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -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) {