[cogl/cogl-1.18] cogl-gst: video-sink: fix ayuv pipeline setup



commit 7dcdf4dfd680bbf267ff768d65f51e1b687217be
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Nov 26 11:28:27 2013 +0000

    cogl-gst: video-sink: fix ayuv pipeline setup

 cogl-gst/cogl-gst-video-sink.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c
index b45c75f..9a811b2 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,
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]