summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2014-01-10 18:14:20 +0000
committerNeil Roberts <neil@linux.intel.com>2014-01-22 13:05:50 +0000
commit5227853e104ea149549f1f0ff3b0e3f91df25fed (patch)
treed1dcbc912394fad79cc04f98c3eb8c63bcd4088b
parenta5f924157caab90d33d1940c534dc1409e2a88a7 (diff)
downloadcogl-5227853e104ea149549f1f0ff3b0e3f91df25fed.tar.gz
cogl-gst: video-sink: fix not installed rgb shader
Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 07114acc40406e3e0fa79ae6195836d56397fdfa)
-rw-r--r--cogl-gst/cogl-gst-video-sink.c4
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 5307d875..e74b9100 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);