Hi all,
anyone using Gstreamer together with SDL2?
I’m facing issues using hardware accelerated SDL2 renderer with Gstreamer v0.10.
In SDL2 software mode its’s working but in accelerated mode I get a segmentation fault.
What I did under Ubuntu:
With Gstreamer setup a captured video source piped into an gst-appsink and install a callback which will be called for every video frame coming from the captured device.
Within this callback I fill a SDLTexture which will be later rendered in the App::Render routine within the main thread. (I use semaphore to avoid collosion when accessing the texture)
Unfortunatly I need hardware acceleration for the SDL framework.
Has someone an idea how to manage this with SDL_RENDERER_ACCELERATED|SDL_RENDERER_PRESENTVSYNC?
Are there any solution Gstreamer + SDL2 accelerated outhere?
Thank and chears
Pat