The quick solution is attached, but I wouldn't use the suggestion I
posted on IRC:
On IRC I sent you a better solution for the filepicker, which is to call
_leave() and not even call _do(). Instead of do, use g_connect() to the
"response" signal. This way you don't even wait inside a
_enter()/_leave() state, and you can still use the default gtk lock. You
could just put the thread to sleep, and the response can awake it.
Carlo Wood wrote:
So, my question is:
What do I have to change in wich cmake files do to be able
to call gdk_threads_enter/leave in llmedia/llmediaimplgstreamer.cpp ?
Thanks in advance for the help with part that
outside my expertise,
Carlo Wood <[email protected]>
diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt
index 24b2103..35d6997 100644
--- a/indra/llaudio/CMakeLists.txt
+++ b/indra/llaudio/CMakeLists.txt
@@ -11,6 +11,7 @@ include(LLMath)
include(LLMessage)
include(LLVFS)
include(LLMedia)
+include(DBusGlib)
include_directories(
${FMOD_INCLUDE_DIR}
@@ -25,6 +26,7 @@ include_directories(
${OPENAL_LIB_INCLUDE_DIRS}
${FREEAULT_LIB_INCLUDE_DIRS}
${LLMEDIA_INCLUDE_DIRS}
+ ${DBUSGLIB_INCLUDE_DIRS}
)
set(llaudio_SOURCE_FILES
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges