Commit 2b207c0b authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

mpdparser: Don't crash in debug output if stream->segments is NULL

parent 96d13316
......@@ -3965,7 +3965,7 @@ gst_mpd_client_advance_segment (GstMpdClient * client, GstActiveStream * stream,
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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment