summaryrefslogtreecommitdiff
path: root/cogl-gst/cogl-gst-video-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl-gst/cogl-gst-video-sink.c')
-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 1b83c9e8..f9887aa8 100644
--- a/cogl-gst/cogl-gst-video-sink.c
+++ b/cogl-gst/cogl-gst-video-sink.c
@@ -441,9 +441,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);