glcontext: correct precondition for get_gl_version
authorMatthew Waters <matthew@centricular.com>
Tue, 28 Jun 2016 03:02:32 +0000 (13:02 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:21 +0000 (19:32 +0000)
commitdb51c90d5dfba8dc434648a10703b32aa9c0bf5a
tree6a30d5716277056d8846f3903fc155c0f99a2743
parentf457e2919275a362eca6f808e4c3046f54880ec7
glcontext: correct precondition for get_gl_version

The intention was to assert if both maj and min were NULL (as there would be no
point calling the function).  Instead if either maj or min were NULL, the assert
would occur.

Fix that.
gst-libs/gst/gl/gstglcontext.c