From 38baf136e683dada57786f1dcfa263330516e79b Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 31 Jan 2008 16:12:28 +0000 Subject: sys/v4l2/v4l2_calls.c: Treat ENOTTY (driver does not implement ioctl) the same as Original commit message from CVS: * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): Treat ENOTTY (driver does not implement ioctl) the same as EINVAL since it implies there are no available standards. * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format), (gst_v4l2src_get_nearest_size): Replace gst_v4l2src_get_size_limits with 2 calls to new function gst_v4l2src_get_nearest_size, and get it to use VIDIOC_S_FMT to probe if the driver does not support VIDIOC_TRY_FMT for whatever reason, and if we aren't yet actively capturing. * sys/v4l2/v4l2src_calls.h: Remove replaced function declaration. --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a166e533..b2e5a28b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2008-01-31 Jan Schmidt + + * sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists): + Treat ENOTTY (driver does not implement ioctl) the same as + EINVAL since it implies there are no available standards. + + * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format), + (gst_v4l2src_get_nearest_size): + Replace gst_v4l2src_get_size_limits with 2 calls to new function + gst_v4l2src_get_nearest_size, and get it to use VIDIOC_S_FMT to + probe if the driver does not support VIDIOC_TRY_FMT for whatever + reason, and if we aren't yet actively capturing. + + * sys/v4l2/v4l2src_calls.h: + Remove replaced function declaration. + 2008-01-31 Jan Schmidt * configure.ac: -- cgit