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:
Mengkejiergeli Ba 2024-01-03 13:20:09 +08:00 committed by GStreamer Marge Bot
parent 90a3b63eed
commit 5d488c444e

View file

@ -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");