nvenc: Unable to use GLMemory as input: failed to register GL texture
gst-plugins-bad git:(master) ✗ gst-launch-1.0 videotestsrc ! glupload ! glcolorconvert ! nvh265enc ! h265parse ! fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'glcolorconvertelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
0:00:00.304141528 79649 0x7f0be00041e0 ERROR nvenc gstnvbaseenc.c:1508:_map_gl_input_buffer:<nvh265enc0> failed to register GL texture 1 to cuda ret :801
**
ERROR:gstnvbaseenc.c:1509:_map_gl_input_buffer: code should not be reached
[2] 79649 abort (core dumped) gst-launch-1.0 videotestsrc ! glupload ! glcolorconvert ! nvh265enc ! !
Cuda Version: 10.0 Nvidia: 410.79