summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-11-26 11:28:27 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2013-12-11 11:01:59 +0000
commit002e2ec08bf2d98c30f08b813a652618589ac000 (patch)
treea897a153daa9fbcebe9033bba9291ede810310bf
parent637728dd89d51bc2809b4f0495c08f6f9eaeb8eb (diff)
downloadcogl-002e2ec08bf2d98c30f08b813a652618589ac000.tar.gz
cogl-gst: video-sink: fix ayuv pipeline setup
-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 b45c75fa..9a811b20 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,
};