Read frame from Gstreamer buffer to SDL_Texture

kj192 elte.kissjanos at gmail.com
Sat Mar 8 00:01:45 PST 2014


Hi Chuck, thank you for the answer

The OS is debian wheezy, and the gstreamer is 0.10
What I have found, and it seems to be to solve this problem is : If I set
the SDL Render to software mode, the code and videoplaying works perfectly.
So as I see SDL can't make textrue in different thread in ACCELERATED mode. 

What I have changed: 

 RENDER =
SDL_CreateRenderer(SCREEN,-1,SDL_RENDERER_ACCELERATED|SDL_RENDERER_PRESENTVSYNC);

 to 

 RENDER = SDL_CreateRenderer(SCREEN,-1,SDL_RENDERER_SOFTWARE);

The same problem
<http://stackoverflow.com/questions/20689280/load-texture-from-thread-in-sdl2-cause-black-texure>  



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Read-frame-from-Gstreamer-buffer-to-SDL-Texture-tp4665787p4665826.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list