pad-monitor: only do combined return checks for demuxers

Seems like the only place that gstreamer elements should really
care about it
This commit is contained in:
Thiago Santos 2013-08-29 11:48:33 -03:00
parent a426198916
commit 1c874d175e

View file

@ -1333,6 +1333,7 @@ gst_validate_pad_monitor_chain_func (GstPad * pad, GstObject * parent,
GST_VALIDATE_MONITOR_LOCK (pad_monitor);
pad_monitor->last_flow_return = ret;
if (PAD_PARENT_IS_DEMUXER (pad_monitor))
gst_validate_pad_monitor_check_aggregated_return (pad_monitor, ret);
GST_VALIDATE_MONITOR_UNLOCK (pad_monitor);