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



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

    cogl-gst: video-sink: fix ayuv pipeline setup
    
    (cherry picked from commit 002e2ec08bf2d98c30f08b813a652618589ac000)

 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 30b6114..f165245 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -793,7 +793,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
@@ -832,7 +832,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]