summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-06-29 14:48:59 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-06-29 14:48:59 +0000
commite1ffe6d0d442aee7ae5f705beed9d8857b1c2e7b (patch)
tree7ee0dc566ca6272af21b547f918651e74d8c6e06 /ext
parentddf42d077245c96b2cf7f3cadeddd56545d72f47 (diff)
downloadgst-plugins-bad-e1ffe6d0d442aee7ae5f705beed9d8857b1c2e7b.tar.gz
gst-plugins-bad-e1ffe6d0d442aee7ae5f705beed9d8857b1c2e7b.tar.bz2
gst-plugins-bad-e1ffe6d0d442aee7ae5f705beed9d8857b1c2e7b.zip
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.
Diffstat (limited to 'ext')
-rw-r--r--ext/dc1394/gstdc1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c
index 7c899833..b4706d5d 100644
--- a/ext/dc1394/gstdc1394.c
+++ b/ext/dc1394/gstdc1394.c
@@ -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");