GNOME Bugzilla – Bug 730782
glimagesink: cannot create window and stalls
Last modified: 2014-05-27 14:58:45 UTC
I compiled gstreamer (1.3.1/1.3.2) with MinGW 4.8.2 (mingw-w64 i686-posix-dwarf-rev3) and gstreamer-win-1.2.4.1(gstreamer file removed, dependency such as glib reserved ) and try to use gl plugin , gst-launch-1.0 videotestsrc ! glimagesink but window does not create ,with GST_DEBUG, log shows last here: :01:05.378129490 4124 057777A8 INFO glconvert gstglcolorconver .c:944:_init_convert: Initializing color conversion from I420 to RGBA gdb shows backtrace as follows: thread 6: ... g_cond_wait gst_gl_window_default_send_message gst_gl_context_thread_add gst_gl_context_gen_shader(vert_src="attribute vec4 a_position; attraibutethrea") _init_convert _gst_gl_context_thread_run_generic _run_message_sync _run_message ... thread 5: ... g_cond_wait gst_gl_window_default_send_message gst_gl_context_thread_add ( func=_do_convert) _gst_gl_color_convert_perform_unlocked gst_gl_color_convert_perform _upload_memory gst_gl_upload_perform_with_buffer gst_glimagesink_sink_prepare ... I also compiled gst-plugins-gl with gstreamer-win-1.2.4.1, everything works.
with some compile and try, I found just after this commit: 95abfda1399bcddbee345d4542e857d743965477 gl: add colorconvert object that converts between color spaces/formats opengl window can not be created
Would it be possible to provide a trace, e.g. with GST_DEBUG_="3,gl*:7" ?
commit 3ddcec8062ca1b69fffed2f592bdd96d8ebf5a87 Author: Matthew Waters <ystreet00@gmail.com> Date: Wed May 28 00:56:05 2014 +1000 gl/win32: make send_message reentrant I could not find a comparable win32API function so keep the running thread pointer to compare against. https://bugzilla.gnome.org/show_bug.cgi?id=730782