summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-11-26 11:28:27 +0000
committerNeil Roberts <neil@linux.intel.com>2013-12-17 14:25:07 +0000
commit54bc352db6aaefc698729ae181df3e3978899443 (patch)
tree028953990ee0932513f3844310ecf7923178ce63
parent64dbd2c337de4fabc3bbf95c106dfd0f10993756 (diff)
downloadcogl-54bc352db6aaefc698729ae181df3e3978899443.tar.gz
cogl-gst: video-sink: fix ayuv pipeline setup
(cherry picked from commit 002e2ec08bf2d98c30f08b813a652618589ac000)
-rw-r--r--cogl-gst/cogl-gst-video-sink.c4
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 30b6114a..f1652453 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,
};