From 7dcdf4dfd680bbf267ff768d65f51e1b687217be Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 26 Nov 2013 11:28:27 +0000 Subject: [PATCH] cogl-gst: video-sink: fix ayuv pipeline setup --- cogl-gst/cogl-gst-video-sink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c index b45c75faa..9a811b20e 100644 --- a/cogl-gst/cogl-gst-video-sink.c +++ b/cogl-gst/cogl-gst-video-sink.c @@ -796,7 +796,7 @@ cogl_gst_ayuv_glsl_setup_pipeline (CoglGstVideoSink *sink, g_free (source); } - setup_pipeline_from_cache_entry (sink, pipeline, entry, 3); + setup_pipeline_from_cache_entry (sink, pipeline, entry, 1); } static CoglBool @@ -835,7 +835,7 @@ static CoglGstRenderer ayuv_glsl_renderer = COGL_GST_AYUV, COGL_GST_RENDERER_NEEDS_GLSL, GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE ("AYUV")), - 3, /* n_layers */ + 1, /* n_layers */ cogl_gst_ayuv_glsl_setup_pipeline, cogl_gst_ayuv_upload, };