gboolean have_ms = FALSE;
gboolean exists = FALSE;
+ *property_value = default_value;
prop_string = xmlGetProp (a_node, (const xmlChar *) property_name);
if (prop_string) {
len = xmlStrlen (prop_string);
GST_LOG (" - %s: %" G_GINT64_FORMAT, property_name, *property_value);
}
- if (!exists) {
- *property_value = default_value;
- }
return exists;
error:
new_period = g_slice_new0 (GstPeriodNode);
*list = g_list_append (*list, new_period);
- new_period->start = GST_CLOCK_TIME_NONE;
-
GST_LOG ("attributes of Period node:");
gst_mpdparser_get_xml_prop_string (a_node, "id", &new_period->id);
gst_mpdparser_get_xml_prop_duration (a_node, "start", -1, &new_period->start);