sys/v4l2/: More FIXME comments and messaging changes.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init):
More FIXME comments and messaging changes.
This commit is contained in:
Stefan Kost 2007-02-12 12:57:22 +00:00
parent 14d79a36f3
commit 77790aa2dc
2 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2007-02-12 Stefan Kost <ensonic@users.sf.net>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init):
More FIXME comments and messaging changes.
2007-02-12 Stefan Kost <ensonic@users.sf.net>
* gst/goom/gstgoom.c: (gst_goom_class_init), (gst_goom_init),

View file

@ -415,6 +415,15 @@ gst_v4l2src_v4l2fourcc_to_caps (guint32 fourcc)
{
GstStructure *structure = NULL;
/* FIXME: new FourCCs
camera: ZC0301 PC Camera
driver: zc0301
BA81, S910, PWC1, PWC2
camera:
driver:
*/
switch (fourcc) {
case V4L2_PIX_FMT_MJPEG: /* Motion-JPEG */
case V4L2_PIX_FMT_JPEG: /* JFIF JPEG */
@ -766,6 +775,7 @@ gst_v4l2src_get_caps (GstBaseSrc * src)
gst_caps_append_structure (caps, structure);
}
}
GST_DEBUG_OBJECT (v4l2src, "returning caps: %" GST_PTR_FORMAT, caps);
return caps;
}