From e1ffe6d0d442aee7ae5f705beed9d8857b1c2e7b Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 29 Jun 2007 14:48:59 +0000 Subject: 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. --- ChangeLog | 8 ++++++++ ext/dc1394/gstdc1394.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea49d124..6db4d203 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-06-29 Jan Schmidt + + * 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 * ext/dc1394/gstdc1394.c: (gst_dc1394_set_caps_color): 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"); -- cgit v1.2.1