GNOME Bugzilla – Bug 752426
dashdemux: gst_mpdparser_get_xml_prop_duration does not set default value in case of parsing errors
Last modified: 2015-08-16 13:39:46 UTC
Similar with gst_mpdparser_get_xml_prop_unsigned_integer, gst_mpdparser_get_xml_prop_unsigned_integer_64 and gst_mpdparser_get_xml_prop_boolean, the gst_mpdparser_get_xml_prop_duration function should set the property_value to default_value when the parsing fails and the function returns false.
Created attachment 307482 [details] [review] proposed patch
Review of attachment 307482 [details] [review]: commit a7751aa96759462b8e95fc850110fd0c6013587c Author: Florin Apostol <florin.apostol@oregan.net> Date: Wed Jul 15 16:21:00 2015 +0100 dashdemux: gst_mpdparser_get_xml_prop_duration sets default value in case of parsing errors The gst_mpdparser_get_xml_prop_duration function will set the property_value to the default_value in case the parsing fails. https://bugzilla.gnome.org/show_bug.cgi?id=752426