Skip to content

v4l2: check buffer pool to avoid segmentation fault in gst-1.22

  1. For some streams, maybe the colorimetry value returned by vpu driver is invalid or does not match caps.
  2. And it will return directly instead of configuring buffer pool in gst_v4l2_object_set_format_full function.
  3. Need check buffer pool to avoid accessing the null pointer in gst_v4l2_video_dec_setup_capture function.

Merge request reports