Skip to content

v4l2: handle 0x0 sizes gracefully

Wim Taymans requested to merge wtaymans/gstreamer:size-fix into main

Also ignore 0x0 sizes in the fallback case and assume the size can be anything between 1x1 and MAXxMAX.

This fixes the case where a width=0, height=0 caps are created. Whith this patch the caps will contain width=[1,MAX], height=[1,MAX].

Merge request reports