From 1c874d175ebc1986668c4686fcffda20fa317a1d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 29 Aug 2013 11:48:33 -0300 Subject: [PATCH] pad-monitor: only do combined return checks for demuxers Seems like the only place that gstreamer elements should really care about it --- validate/gst/validate/gst-validate-pad-monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/validate/gst/validate/gst-validate-pad-monitor.c b/validate/gst/validate/gst-validate-pad-monitor.c index 3745e2aa46..180475787f 100644 --- a/validate/gst/validate/gst-validate-pad-monitor.c +++ b/validate/gst/validate/gst-validate-pad-monitor.c @@ -1333,7 +1333,8 @@ gst_validate_pad_monitor_chain_func (GstPad * pad, GstObject * parent, GST_VALIDATE_MONITOR_LOCK (pad_monitor); pad_monitor->last_flow_return = ret; - gst_validate_pad_monitor_check_aggregated_return (pad_monitor, ret); + if (PAD_PARENT_IS_DEMUXER (pad_monitor)) + gst_validate_pad_monitor_check_aggregated_return (pad_monitor, ret); GST_VALIDATE_MONITOR_UNLOCK (pad_monitor); GST_VALIDATE_PAD_MONITOR_PARENT_UNLOCK (pad_monitor);