mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 09:42:19 +00:00
Revert "pad: fail dropped queries"
This was pushed by mistake along with an unrelated patch.
This reverts commit c7103ce4b8
.
This commit is contained in:
parent
7c4fbc9fb1
commit
1b06822ce3
1 changed files with 10 additions and 4 deletions
10
gst/gstpad.c
10
gst/gstpad.c
|
@ -3643,7 +3643,10 @@ probe_stopped:
|
||||||
GST_PAD_STREAM_UNLOCK (pad);
|
GST_PAD_STREAM_UNLOCK (pad);
|
||||||
|
|
||||||
/* if a probe dropped, we don't sent it further but assume that the probe
|
/* if a probe dropped, we don't sent it further but assume that the probe
|
||||||
* did not answer the query and return FALSE */
|
* answered the query and return TRUE */
|
||||||
|
if (ret == GST_FLOW_CUSTOM_SUCCESS)
|
||||||
|
res = TRUE;
|
||||||
|
else
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
@ -3757,7 +3760,10 @@ probe_stopped:
|
||||||
GST_OBJECT_UNLOCK (pad);
|
GST_OBJECT_UNLOCK (pad);
|
||||||
|
|
||||||
/* if a probe dropped, we don't sent it further but assume that the probe
|
/* if a probe dropped, we don't sent it further but assume that the probe
|
||||||
* did not answer the query and return FALSE */
|
* answered the query and return TRUE */
|
||||||
|
if (ret == GST_FLOW_CUSTOM_SUCCESS)
|
||||||
|
res = TRUE;
|
||||||
|
else
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue