Fix period selection and properly error out when update cannot be done
https://bugzilla.gnome.org/show_bug.cgi?id=725298
/* TODO */
}
- if (period_idx) {
+ if (period_id) {
if (!gst_mpd_client_set_period_id (new_client, period_id)) {
GST_DEBUG_OBJECT (demux, "Error setting up the updated manifest file");
return GST_FLOW_EOS;
* the manifest */
GST_WARNING_OBJECT (demux, "Error parsing the manifest.");
gst_buffer_unmap (buffer, &mapinfo);
+ return GST_FLOW_ERROR;
}
gst_buffer_unmap (buffer, &mapinfo);