mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gstmpdparser: Really set the default value for startNumber.
+ The specs ask for a default of 1, the current code only did set a default when the field was present. https://bugzilla.gnome.org/show_bug.cgi?id=745455
This commit is contained in:
parent
68efb43322
commit
793b4bca93
1 changed files with 3 additions and 4 deletions
|
@ -1344,10 +1344,9 @@ gst_mpdparser_parse_mult_seg_base_type_ext (GstMultSegmentBaseType ** pointer,
|
|||
&intval)) {
|
||||
mult_seg_base_type->duration = intval;
|
||||
}
|
||||
if (gst_mpdparser_get_xml_prop_unsigned_integer (a_node, "startNumber", 1,
|
||||
&intval)) {
|
||||
mult_seg_base_type->startNumber = intval;
|
||||
}
|
||||
|
||||
gst_mpdparser_get_xml_prop_unsigned_integer (a_node, "startNumber", 1,
|
||||
&mult_seg_base_type->startNumber);
|
||||
|
||||
GST_LOG ("extension of MultipleSegmentBaseType extension:");
|
||||
gst_mpdparser_parse_seg_base_type_ext (&mult_seg_base_type->SegBaseType,
|
||||
|
|
Loading…
Reference in a new issue