mssdemux: 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-12 14:58:45 -03:00
parent b54367e211
commit b627d7df83

View file

@ -605,6 +605,13 @@ gst_mss_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
}
}
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;
}