slomo gst-plugins-good: gst-plugins-good/ gst-plugins-good/sys/v4l2/
[email protected] Mon, 5 Jan 2009 04:30:54 -0800 (PST)
| Newsgroups | gmane.comp.video.gstreamer.cvs |
|---|---|
| Message-ID | <[email protected]> |
--===============6024308351784474890==
CVS Root: /cvs/gstreamer
Module: gst-plugins-good
Changes by: slomo
Date: Mon Jan 05 2009 12:30:54 UTC
Log message:
Patch by: Sascha Hauer <s dot hauer at pengutronix dot de>
Luotao Fu <l dot fu at pengutronix dot de>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_structure),
(gst_v4l2_get_caps_info):
Add support for grayscale v4l2 devices. Fixes bug #566616.
Modified files:
. : ChangeLog
sys/v4l2 : gstv4l2src.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3881&r2=1.3882
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/sys/v4l2/gstv4l2src.c.diff?r1=1.102&r2=1.103
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3881
retrieving revision 1.3882
diff -u -d -r1.3881 -r1.3882
--- ChangeLog 5 Jan 2009 11:42:06 -0000 1.3881
+++ ChangeLog 5 Jan 2009 12:30:37 -0000 1.3882
@@ -1,3 +1,12 @@
+2009-01-05 Sebastian Dröge <[email protected]>
+
+ Patch by: Sascha Hauer <s dot hauer at pengutronix dot de>
+ Luotao Fu <l dot fu at pengutronix dot de>
+ * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_structure),
+ (gst_v4l2_get_caps_info):
+ Add support for grayscale v4l2 devices. Fixes bug #566616.
2009-01-05 Mark Nauwelaerts <[email protected]>
* gst/qtdemux/qtdemux.c: (qtdemux_tag_add_str),
Index: gstv4l2src.c
RCS file: /cvs/gstreamer/gst-plugins-good/sys/v4l2/gstv4l2src.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- gstv4l2src.c 13 Nov 2008 17:45:59 -0000 1.102
+++ gstv4l2src.c 5 Jan 2009 12:30:40 -0000 1.103
@@ -675,6 +675,9 @@
break;
}
case V4L2_PIX_FMT_GREY: /* 8 Greyscale */
+ structure = gst_structure_new ("video/x-raw-gray",
+ "bpp", G_TYPE_INT, 8, NULL);
+ break;
case V4L2_PIX_FMT_YYUV: /* 16 YUV 4:2:2 */
case V4L2_PIX_FMT_HI240: /* 8 8-bit color */
/* FIXME: get correct fourccs here */
@@ -1017,6 +1020,8 @@
} else if (strcmp (mimetype, "video/x-pwc2") == 0) {
fourcc = V4L2_PIX_FMT_PWC2;
#endif
+ } else if (strcmp (mimetype, "video/x-raw-gray") == 0) {
+ fourcc = V4L2_PIX_FMT_GREY;
}
if (fourcc == 0)
--===============6024308351784474890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============6024308351784474890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose
--===============6024308351784474890==--