projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2288b5e
)
mpegtsmux: use GST_STIME_ARGS for GstClockTimeDiff
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Mon, 2 Nov 2015 17:02:47 +0000
(17:02 +0000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Mon, 2 Nov 2015 17:02:51 +0000
(17:02 +0000)
No need to manually handle negative values of best->dts in
GST_DEBUG_OBJECT. Use GST_STIME_ARGS for this.
gst/mpegtsmux/mpegtsmux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/mpegtsmux.c
b/gst/mpegtsmux/mpegtsmux.c
index ce00333dc0ffc63cce1556df4b59c33255b9b661..347d7d8e538c2c9e73a99bfc85a13a3b6b2f14fb 100644
(file)
--- a/
gst/mpegtsmux/mpegtsmux.c
+++ b/
gst/mpegtsmux/mpegtsmux.c
@@
-1207,9
+1207,8
@@
mpegtsmux_collected_buffer (GstCollectPads * pads, GstCollectData * data,
if (GST_CLOCK_STIME_IS_VALID (best->dts)) {
dts = GSTTIME_TO_MPEGTIME (best->dts);
- GST_DEBUG_OBJECT (mux, "Buffer has DTS %s%" GST_TIME_FORMAT " dts %"
- G_GINT64_FORMAT, best->dts >= 0 ? " " : "-",
- GST_TIME_ARGS (ABS (best->dts)), dts);
+ GST_DEBUG_OBJECT (mux, "Buffer has DTS %" GST_STIME_FORMAT " dts %"
+ G_GINT64_FORMAT, GST_STIME_ARGS (best->dts), dts);
}
/* should not have a DTS without PTS */