mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
applemedia: corevideotexturecache: stop configuring cache->convert over and over
This commit is contained in:
parent
3bf7430411
commit
3c681045bf
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue