dashdemux: Always accept the latency configure event

Upstream or internal elements are irrelevant and we should
always succeed.
This commit is contained in:
Thiago Santos 2014-05-01 21:00:32 -03:00
parent d6671e73a6
commit b5998a4c3b

View file

@ -564,6 +564,13 @@ gst_dash_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
GST_DASH_DEMUX_CLIENT_UNLOCK (demux);
}
break;
case GST_EVENT_LATENCY:{
/* Upstream and our internal source are irrelevant
* for latency, and we should not fail here to
* configure the latency */
gst_event_unref (event);
return TRUE;
}
default:
break;
}