mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
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
This commit is contained in:
parent
e523bd2a33
commit
1f7156d478
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ gst_mpdparser_get_xml_prop_range (xmlNode * a_node, const gchar * property_name,
|
||||||
GstRange ** property_value)
|
GstRange ** property_value)
|
||||||
{
|
{
|
||||||
xmlChar *prop_string;
|
xmlChar *prop_string;
|
||||||
guint64 first_byte_pos = 0, last_byte_pos = 0;
|
guint64 first_byte_pos = 0, last_byte_pos = -1;
|
||||||
guint len, pos;
|
guint len, pos;
|
||||||
gchar *str;
|
gchar *str;
|
||||||
gboolean exists = FALSE;
|
gboolean exists = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue