ext/dc1394/gstdc1394.c: The correct fourcc for the 4:1:1 packed format is 'IYU1'.

Original commit message from CVS:
* ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):
The correct fourcc for the 4:1:1 packed format is 'IYU1'.
With CVS of ffmpegcolorspace from plugins-base, I can now
get 30 fps from the iSight.
This commit is contained in:
Jan Schmidt 2007-06-29 14:48:59 +00:00
parent ddf42d0772
commit e1ffe6d0d4
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2007-06-29 Jan Schmidt <thaytan@mad.scientist.com>
* ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):
The correct fourcc for the 4:1:1 packed format is 'IYU1'.
With CVS of ffmpegcolorspace from plugins-base, I can now
get 30 fps from the iSight.
2007-06-29 Jan Schmidt <thaytan@mad.scientist.com>
* ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color):

View file

@ -632,9 +632,9 @@ gst_dc1394_set_caps_color (GstStructure * gs, gint mc)
case DC1394_COLOR_CODING_YUV411:
gst_structure_set_name (gs, "video/x-raw-yuv");
fourcc = GST_MAKE_FOURCC ('Y', '4', '1', 'P');
fourcc = GST_MAKE_FOURCC ('I', 'Y', 'U', '1');
gst_structure_set (gs,
"format", GST_TYPE_FOURCC, fourcc, "bpp", G_TYPE_INT, 16, NULL);
"format", GST_TYPE_FOURCC, fourcc, "bpp", G_TYPE_INT, 12, NULL);
break;
case DC1394_COLOR_CODING_RGB8:
gst_structure_set_name (gs, "video/x-raw-rgb");