From 2b207c0b65a76d2114ac4dae9061984f7a34eabb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 Jun 2015 15:57:57 +0200 Subject: [PATCH] mpdparser: Don't crash in debug output if stream->segments is NULL --- ext/dash/gstmpdparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 6f3927565b..dcd24da3f5 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -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; }