applemedia: corevideotexturecache: stop configuring cache->convert over and over

This commit is contained in:
Alessandro Decina 2015-11-17 16:13:00 +11:00
parent 3bf7430411
commit 3c681045bf

View file

@ -235,6 +235,7 @@ gl_mem_from_buffer (GstCoreVideoTextureCache * cache,
gst_caps_set_simple (cache->out_caps, "texture-target", G_TYPE_STRING, "2D", NULL);
ret = gst_gl_color_convert_set_caps (cache->convert, cache->in_caps, cache->out_caps);
cache->configured = ret;
}
return ret;