From 5227853e104ea149549f1f0ff3b0e3f91df25fed Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 10 Jan 2014 18:14:20 +0000 Subject: [PATCH] cogl-gst: video-sink: fix not installed rgb shader Reviewed-by: Neil Roberts (cherry picked from commit 07114acc40406e3e0fa79ae6195836d56397fdfa) --- cogl-gst/cogl-gst-video-sink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cogl-gst/cogl-gst-video-sink.c b/cogl-gst/cogl-gst-video-sink.c index 5307d8753..e74b91004 100644 --- a/cogl-gst/cogl-gst-video-sink.c +++ b/cogl-gst/cogl-gst-video-sink.c @@ -445,9 +445,11 @@ cogl_gst_rgb_setup_pipeline (CoglGstVideoSink *sink, priv->custom_start, priv->custom_start); - setup_pipeline_from_cache_entry (sink, pipeline, entry, 1); + entry = add_cache_entry (sink, &snippet_cache, source); g_free (source); } + + setup_pipeline_from_cache_entry (sink, pipeline, entry, 1); } else setup_pipeline_from_cache_entry (sink, pipeline, NULL, 1);