From d6934dcd7c47e32768b19f8a8475590896b0e98f Mon Sep 17 00:00:00 2001 From: Gabriel Bouvigne Date: Tue, 6 May 2008 14:31:22 +0000 Subject: [PATCH] ext/libpostproc/gstpostproc.c: Support for non-I420 colorspaces in postproc Original commit message from CVS: Patch by: Gabriel Bouvigne * ext/libpostproc/gstpostproc.c: Support for non-I420 colorspaces in postproc Fixes #496127 --- ChangeLog | 7 +++++++ common | 2 +- ext/libpostproc/gstpostproc.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2515452..92a894e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-06 Edward Hervey + + Patch by: Gabriel Bouvigne + * ext/libpostproc/gstpostproc.c: + Support for non-I420 colorspaces in postproc + Fixes #496127 + 2008-04-21 Edward Hervey Patch by: Dejan Sakelšak diff --git a/common b/common index 3bb6edf..9b28214 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 3bb6edfe927d6d3020d2f2a4604f54caa61cd104 +Subproject commit 9b28214399156457fd6b43d0604a47e4bdf19c28 diff --git a/ext/libpostproc/gstpostproc.c b/ext/libpostproc/gstpostproc.c index 89f008f..a56e785 100644 --- a/ext/libpostproc/gstpostproc.c +++ b/ext/libpostproc/gstpostproc.c @@ -176,14 +176,14 @@ static GstStaticPadTemplate gst_post_proc_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ IYUV, I420, YV12 }")) + GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ IYUV, I420, YV12, Y42B, Y41B }")) ); static GstStaticPadTemplate gst_post_proc_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ IYUV, I420, YV12 }")) + GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("{ IYUV, I420, YV12, Y42B, Y41B }")) ); GST_DEBUG_CATEGORY (postproc_debug); -- 2.7.4