We have already done the jobs in gst_va_base_dec_decide_allocation()
and no need to call base class' decide_allocation() again. The base
class' decide_allocation() will set_format() again and let use do the
image/surface testing again, which is low performance and no needed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1698>
gst_object_unref (allocator);
gst_object_unref (pool);
- return GST_VIDEO_DECODER_CLASS (parent_class)->decide_allocation (decoder,
- query);
+ return TRUE;
wrong_caps:
{