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

Lionel Landwerlin llandwerlin at gmail.com
Fri Jan 10 14:45:27 PST 2014


---
 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 5307d87..e74b910 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);
-- 
1.8.5.2



More information about the Cogl mailing list