summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-09-04 16:40:05 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-09-04 16:40:05 +0000
commitb4e5796a04dd2ba7c176024d9bf5d51dd3ee917b (patch)
treee20791a6c977b130eea4c38e516afccc4ece19ef /ChangeLog
parent5248639cc180189ff3cc7acde83f8b041c1b8f78 (diff)
sys/v4l2/gstv4l2src.c: Restructure the setcaps function so that we can also compute the expected GStreamer output siz...
Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2_get_caps_info), (gst_v4l2src_set_caps), (gst_v4l2src_get_mmap): Restructure the setcaps function so that we can also compute the expected GStreamer output size of the video frames. Set frame_byte_size correctly so that read-based devices have a chance of working correctly. When grabbing a frame, discard frames that are not of the expected size. Some cameras don't output the right framesize for the first buffer. Try only a couple of times to get a valid frame, else error out. * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities), (gst_v4l2_fill_lists), (gst_v4l2_get_input): Add some more debug info when scanning the device. * sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_new), (gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate), (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init): Add some more debug info when dequeing a frame.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b9a4ba7..99866787 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2007-09-04 Wim Taymans <wim.taymans@gmail.com>
+
+ * sys/v4l2/gstv4l2src.c: (gst_v4l2_get_caps_info),
+ (gst_v4l2src_set_caps), (gst_v4l2src_get_mmap):
+ Restructure the setcaps function so that we can also compute the
+ expected GStreamer output size of the video frames.
+ Set frame_byte_size correctly so that read-based devices have a chance
+ of working correctly.
+ When grabbing a frame, discard frames that are not of the expected size.
+ Some cameras don't output the right framesize for the first buffer.
+ Try only a couple of times to get a valid frame, else error out.
+
+ * sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
+ (gst_v4l2_fill_lists), (gst_v4l2_get_input):
+ Add some more debug info when scanning the device.
+
+ * sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_new),
+ (gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
+ (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame),
+ (gst_v4l2src_set_capture), (gst_v4l2src_capture_init):
+ Add some more debug info when dequeing a frame.
+
2007-09-04 Stefan Kost <ensonic@users.sf.net>
* gst/wavparse/gstwavparse.c: