glfilterapp recordgraphic example doesn't work
Hello everyone.
I'm trying to use glfilterapp
gl-plugin to draw on the videostream.
For this I try to run this example:
https://github.com/GStreamer/gst-plugins-base/blob/1.18.3/tests/examples/gl/generic/recordgraphic/main.cpp
But here I get a link error.
Anyway, if I get rid of the caps filtering and put only glimagesink
after glfilterapp
and gltestsrc
before it, I run into black screen.
Also if I don't pass a draw-callback into glfilterapp
, videostream flows just fine.
I can't use glimagesink
for drawing, like here:
https://github.com/GStreamer/gst-plugins-base/blob/1.18.3/tests/examples/gl/generic/cube/main.cpp
Because I just need to draw on the video without displaying it immediately.
So, could you please explain me how to change this example in order to draw something using glfilterapp
?
My GStreamer version is 1.16.2.
Thanks.