Revert "pad: fail dropped queries"

This was pushed by mistake along with an unrelated patch.

This reverts commit c7103ce4b8.
This commit is contained in:
Vincent Penquerc'h 2014-11-12 13:55:23 +00:00
parent 7c4fbc9fb1
commit 1b06822ce3

View file

@ -3643,8 +3643,11 @@ probe_stopped:
GST_PAD_STREAM_UNLOCK (pad);
/* if a probe dropped, we don't sent it further but assume that the probe
* did not answer the query and return FALSE */
res = FALSE;
* answered the query and return TRUE */
if (ret == GST_FLOW_CUSTOM_SUCCESS)
res = TRUE;
else
res = FALSE;
return res;
}
@ -3757,8 +3760,11 @@ probe_stopped:
GST_OBJECT_UNLOCK (pad);
/* if a probe dropped, we don't sent it further but assume that the probe
* did not answer the query and return FALSE */
res = FALSE;
* answered the query and return TRUE */
if (ret == GST_FLOW_CUSTOM_SUCCESS)
res = TRUE;
else
res = FALSE;
return res;
}