glvideomixer: perform _get_highest_precision on the GL thread
authorMatthew Waters <matthew@centricular.com>
Wed, 5 Jun 2019 08:17:35 +0000 (18:17 +1000)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 13 Jun 2019 09:37:37 +0000 (09:37 +0000)
commitf31b83bc86e1872b2e69f8d0c8414cab09af95fd
treeb7fb18928620b7c8addb9036bad5b27cba49a425
parentb596bf7cb7dce6ef8c4a3abf65ccf22cf83cfd68
glvideomixer: perform _get_highest_precision on the GL thread

gst_gl_shader_string_get_highest_precision needs to make an OpenGL call
so execution outside the OpenGL thread and context results in undefined
behaviour.
ext/gl/gstglvideomixer.c