v4l2codecs: Always chain up to parent decide_allocation function

James Cowgill requested to merge jcowgill/gstreamer:v4l2codecs-allocation into main

The gst_video_decoder_negotiate_pool function expects the decide_allocation function to always provide a pool and will fail to negotiate if the pool is missing. If we return immediately (even if we don't need to do anything special) negotiation will fail if the downstream element does not propose a pool.

Fix by chaining up to the default decide_allocation function which adds a fallback pool if one was not already proposed.

Merge request reports