mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
mpdparser: Don't crash in debug output if stream->segments is NULL
This commit is contained in:
parent
96d1331679
commit
2b207c0b65
1 changed files with 1 additions and 1 deletions
|
@ -3965,7 +3965,7 @@ gst_mpd_client_advance_segment (GstMpdClient * client, GstActiveStream * stream,
|
|||
|
||||
done:
|
||||
GST_DEBUG ("Advanced to segment: %d / %d r:%d (ret: %s)",
|
||||
stream->segment_index, stream->segments->len,
|
||||
stream->segment_index, (stream->segments ? stream->segments->len : -1),
|
||||
stream->segment_repeat_index, gst_flow_get_name (ret));
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue