Skip to content
Commit 8fe1eaef authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

staging/bcm2835-codec: Implement additional g_selection calls for decode



v4l_cropcap calls our vidioc_g_pixelaspect function to get the pixel
aspect ratio, but also calls g_selection for V4L2_SEL_TGT_CROP_BOUNDS
and V4L2_SEL_TGT_CROP_DEFAULT. Whilst it allows for vidioc_g_pixelaspect
not to be implemented, it doesn't allow for either of the other two.

Add in support for the additional selection targets.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 69144d8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment