mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
qtdemux: Remove useless variable
That variable is only needed for a debug statement, move it there
This commit is contained in:
parent
d8f1a6c58e
commit
7d309d3f4b
1 changed files with 1 additions and 5 deletions
|
@ -3743,17 +3743,13 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length,
|
||||||
qtdemux_tree_get_child_by_type_full (traf_node, FOURCC_tfdt,
|
qtdemux_tree_get_child_by_type_full (traf_node, FOURCC_tfdt,
|
||||||
&tfdt_data);
|
&tfdt_data);
|
||||||
if (tfdt_node) {
|
if (tfdt_node) {
|
||||||
GstClockTime decode_time_ts;
|
|
||||||
|
|
||||||
/* We'll use decode_time to interpolate timestamps
|
/* We'll use decode_time to interpolate timestamps
|
||||||
* in case the input timestamps are missing */
|
* in case the input timestamps are missing */
|
||||||
qtdemux_parse_tfdt (qtdemux, &tfdt_data, &decode_time);
|
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_DEBUG_OBJECT (qtdemux, "decode time %" G_GINT64_FORMAT
|
||||||
" (%" GST_TIME_FORMAT ")", decode_time,
|
" (%" 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.
|
/* Discard the fragment buffer timestamp info to avoid using it.
|
||||||
* Rely on tfdt instead as it is more accurate than the timestamp
|
* Rely on tfdt instead as it is more accurate than the timestamp
|
||||||
|
|
Loading…
Reference in a new issue