[Cogl] [PATCH 06/13] cogl-gst: video-sink: fix not installed rgb shader

Lionel Landwerlin llandwerlin at gmail.com
Mon Dec 9 03:17:53 PST 2013


---
 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 57dd3e9..f2f7ef6 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -455,9 +455,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);
-- 
1.8.5



More information about the Cogl mailing list