Following the simpleEGLStreams_producer example I’ve been able to create an EGLStream and Producer Surface. However I’m now attempting to couple the stream to a gstreamer nveglstreamsrc element. But the element seems to ignore the display and stream values. With the following code I pass the display and stream to the element.
g_object_set(streamSrc,
"do-timestamp", true,
"display", (size_t) display,
"eglstream", (size_t) stream,
NULL);
However the display and eglstream parameters do not show up in gstreamer debugging images and the element fails with:
NvEglStreamSrc: Can not start because egl_display and stream are not set