diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-06-04 15:57:57 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-04 15:58:46 +0200 |
commit | 2b207c0b65a76d2114ac4dae9061984f7a34eabb (patch) | |
tree | d3a85d789b107ed098d0d1ba26b9fbca0e505924 /ext | |
parent | 96d1331679adc032ccfc2719c0c9954b9751b34b (diff) | |
download | gstreamer-plugins-bad-2b207c0b65a76d2114ac4dae9061984f7a34eabb.tar.gz |
mpdparser: Don't crash in debug output if stream->segments is NULL
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dash/gstmpdparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 6f3927565..dcd24da3f 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; } |