v4l2: check buffer pool to avoid segmentation fault in gst-1.22
requested to merge elliot_chen/gstreamer:v4l2-check-buffer-pool-to-avoid-segmentation-fault into main
- For some streams, maybe the colorimetry value returned by vpu driver is invalid or does not match caps.
- And it will return directly instead of configuring buffer pool in gst_v4l2_object_set_format_full function.
- Need check buffer pool to avoid accessing the null pointer in gst_v4l2_video_dec_setup_capture function.