|
@@ -165,7 +165,8 @@ bool v4l2_valid_dv_timings(const struct v4l2_dv_timings *t,
|
|
|
bt->width > cap->max_width ||
|
|
|
bt->pixelclock < cap->min_pixelclock ||
|
|
|
bt->pixelclock > cap->max_pixelclock ||
|
|
|
- (cap->standards && bt->standards &&
|
|
|
+ (!(caps & V4L2_DV_BT_CAP_CUSTOM) &&
|
|
|
+ cap->standards && bt->standards &&
|
|
|
!(bt->standards & cap->standards)) ||
|
|
|
(bt->interlaced && !(caps & V4L2_DV_BT_CAP_INTERLACED)) ||
|
|
|
(!bt->interlaced && !(caps & V4L2_DV_BT_CAP_PROGRESSIVE)))
|