From a732dfa8864746e131bc996e68525d8ab34f8d26 Mon Sep 17 00:00:00 2001
From: Zhong Cong <congx.zhong@intel.com>
Date: Tue, 18 Jun 2013 11:06:58 +0800
Subject: [PATCH] postproc: fix bug vaapipostproc format support:

1. YV12 <--> I420
2. NV12 <--> RGB

Signed-off-by: Zhong Cong <congx.zhong@intel.com>
---
 gst/vaapi/gstvaapipostproc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gst/vaapi/gstvaapipostproc.c b/gst/vaapi/gstvaapipostproc.c
index 543e3c2..234cbb0 100755
--- a/gst/vaapi/gstvaapipostproc.c
+++ b/gst/vaapi/gstvaapipostproc.c
@@ -58,8 +58,7 @@ static const char gst_vaapipostproc_sink_caps_str[] =
 
 static const char gst_vaapipostproc_src_caps_str[] =
     GST_VAAPI_SURFACE_CAPS ", "
-    "interlaced = (boolean) { true, false}, "
-    "format = (fourcc) {NV12, UYVY, YUY2, YV12}";
+    "interlaced = (boolean) { true, false}";
 
 static GstStaticPadTemplate gst_vaapipostproc_sink_factory =
     GST_STATIC_PAD_TEMPLATE(
-- 
1.7.9.5