sys/v4l2/gstv4l2src.c: Add support for Bayer images as video/x-raw-bayer. Fixes #314160.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: Add support for Bayer images as
video/x-raw-bayer.  Fixes #314160.
This commit is contained in:
David Schleef 2007-05-15 02:56:23 +00:00
parent 4da361f94c
commit 1a818e4151
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-05-14 David Schleef <ds@schleef.org>
* sys/v4l2/gstv4l2src.c: Add support for Bayer images as
video/x-raw-bayer. Fixes #314160.
2007-05-14 Wim Taymans <wim@fluendo.com> 2007-05-14 Wim Taymans <wim@fluendo.com>
* gst/rtp/gstrtptheoradepay.c: (decode_base64), * gst/rtp/gstrtptheoradepay.c: (decode_base64),

View file

@ -583,6 +583,9 @@ gst_v4l2src_v4l2fourcc_to_caps (guint32 fourcc)
break; break;
case V4L2_PIX_FMT_WNVA: /* Winnov hw compres */ case V4L2_PIX_FMT_WNVA: /* Winnov hw compres */
break; break;
case V4L2_PIX_FMT_SBGGR8:
structure = gst_structure_new ("video/x-raw-bayer", NULL);
break;
default: default:
GST_DEBUG ("Unknown fourcc 0x%08x %" GST_FOURCC_FORMAT, GST_DEBUG ("Unknown fourcc 0x%08x %" GST_FOURCC_FORMAT,
fourcc, GST_FOURCC_ARGS (fourcc)); fourcc, GST_FOURCC_ARGS (fourcc));