cogl-gst: video-sink: fix not installed rgb shader

Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 07114acc40406e3e0fa79ae6195836d56397fdfa)
This commit is contained in:
Lionel Landwerlin 2014-01-10 18:14:20 +00:00 committed by Neil Roberts
parent a5f924157c
commit 5227853e10

View File

@ -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);