summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2016-05-10 15:45:42 +0200
committerEdward Hervey <bilboed@bilboed.com>2016-05-30 12:13:03 +0200
commit0b91d531024c6e0c7caf1cf1ab5b18d714dc131b (patch)
treeee2ccad32937200bb82bddcc1963684d9f907762
parent1ea23d7fb50758b5d1d528e49550e99629bf4c57 (diff)
qtdemux: Remove useless variable
That variable is only needed for a debug statement, move it there
-rw-r--r--gst/isomp4/qtdemux.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index b6a0c69dc..dd1aeb7f0 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -3749,17 +3749,13 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length,
qtdemux_tree_get_child_by_type_full (traf_node, FOURCC_tfdt,
&tfdt_data);
if (tfdt_node) {
- GstClockTime decode_time_ts;
-
/* We'll use decode_time to interpolate timestamps
* in case the input timestamps are missing */
qtdemux_parse_tfdt (qtdemux, &tfdt_data, &decode_time);
- decode_time_ts = QTSTREAMTIME_TO_GSTTIME (stream, decode_time);
-
GST_DEBUG_OBJECT (qtdemux, "decode time %" G_GINT64_FORMAT
" (%" GST_TIME_FORMAT ")", decode_time,
- GST_TIME_ARGS (decode_time_ts));
+ GST_TIME_ARGS (QTSTREAMTIME_TO_GSTTIME (stream, decode_time)));
/* Discard the fragment buffer timestamp info to avoid using it.
* Rely on tfdt instead as it is more accurate than the timestamp