mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
msdkvpp: Remove passthrough condition in propose_allocation
According to basetransform func: gst_base_transform_do_bufferpool, it is the upstream to decide if it needs a bufferpool from vpp, so we don't need passthrough condition in subclass propose_allocation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5879>
This commit is contained in:
parent
90a3b63eed
commit
5d488c444e
1 changed files with 0 additions and 3 deletions
|
@ -670,9 +670,6 @@ gst_msdkvpp_propose_allocation (GstBaseTransform * trans,
|
|||
guint size;
|
||||
guint min_buffers = thiz->async_depth + 1;
|
||||
|
||||
if (gst_base_transform_is_passthrough (trans))
|
||||
return TRUE;
|
||||
|
||||
gst_query_parse_allocation (query, &caps, &need_pool);
|
||||
if (!caps) {
|
||||
GST_ERROR_OBJECT (thiz, "Failed to parse the allocation caps");
|
||||
|
|
Loading…
Reference in a new issue