diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-10-14 10:31:23 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-20 10:17:48 +0300 |
commit | 040291ff5a820286e2dbaff25530970ba866c347 (patch) | |
tree | 0aad5692616a34c6a81ff4907ed8781a4b426549 /ext | |
parent | f38ec27cdfc4c2689b07e74a3b1bcbc8173d335f (diff) | |
download | gstreamer-plugins-bad-040291ff5a820286e2dbaff25530970ba866c347.tar.gz |
mpdparser: Set default last_byte_pos to -1
The value is optional in the range, and if it is absent it means we should
download until the end of stream. Not until position 0.
https://bugzilla.gnome.org/show_bug.cgi?id=748316
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 d5a655dd9..80dc0df35 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -543,7 +543,7 @@ gst_mpdparser_get_xml_prop_range (xmlNode * a_node, const gchar * property_name, GstRange ** property_value) { xmlChar *prop_string; - guint64 first_byte_pos = 0, last_byte_pos = 0; + guint64 first_byte_pos = 0, last_byte_pos = -1; guint len, pos; gchar *str; gboolean exists = FALSE; |