[cogl/cogl-1.18] cogl-gst: video-sink: fix not installed rgb shader



commit 5227853e104ea149549f1f0ff3b0e3f91df25fed
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Fri Jan 10 18:14:20 2014 +0000

    cogl-gst: video-sink: fix not installed rgb shader
    
    Reviewed-by: Neil Roberts <neil linux intel com>
    (cherry picked from commit 07114acc40406e3e0fa79ae6195836d56397fdfa)

 cogl-gst/cogl-gst-video-sink.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]