mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
qtdemux: Don't crash in debug output if stream==NULL
That case is correctly handled below but not in the debug output. https://bugzilla.gnome.org/show_bug.cgi?id=781270
This commit is contained in:
parent
a593e4966e
commit
875fc630d5
1 changed files with 2 additions and 1 deletions
|
@ -3933,7 +3933,8 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length,
|
|||
|
||||
GST_DEBUG_OBJECT (qtdemux, "decode time %" G_GINT64_FORMAT
|
||||
" (%" GST_TIME_FORMAT ")", decode_time,
|
||||
GST_TIME_ARGS (QTSTREAMTIME_TO_GSTTIME (stream, decode_time)));
|
||||
GST_TIME_ARGS (stream ? QTSTREAMTIME_TO_GSTTIME (stream,
|
||||
decode_time) : GST_CLOCK_TIME_NONE));
|
||||
|
||||
/* Discard the fragment buffer timestamp info to avoid using it.
|
||||
* Rely on tfdt instead as it is more accurate than the timestamp
|
||||
|
|
Loading…
Reference in a new issue