[media] pvrusb2: Fix a few missing default control values, for cropping
authorMike Isely <isely@pobox.com>
Sun, 13 Feb 2011 20:34:33 +0000 (17:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:22 +0000 (20:32 -0300)
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-hdw.c

index f83e5cf..5e6437d 100644 (file)
@@ -1114,6 +1114,7 @@ static const struct pvr2_ctl_info control_defs[] = {
                .internal_id = PVR2_CID_CROPW,
                .default_value = 720,
                DEFREF(cropw),
+               DEFINT(0, 864),
                .get_max_value = ctrl_cropw_max_get,
                .get_def_value = ctrl_get_cropcapdw,
        }, {
@@ -1122,6 +1123,7 @@ static const struct pvr2_ctl_info control_defs[] = {
                .internal_id = PVR2_CID_CROPH,
                .default_value = 480,
                DEFREF(croph),
+               DEFINT(0, 576),
                .get_max_value = ctrl_croph_max_get,
                .get_def_value = ctrl_get_cropcapdh,
        }, {