Hallo again!
in constructor of videoV4l.cpp, m_continue_thread is not initialized, and because the first device is started automatically, it will be stopped (pthread_join) and it crashes if you use Gem together with PDP ... (doesn't crash if you only use GEM ...)
anyway, this fixes the problem: (videoV4L.cpp, line 53)
--------8<------------8<-------------
videoV4L :: videoV4L(int format) : video(format){ #ifdef HAVE_VIDEO4LINUX if (!m_width)m_width=64; if (!m_height)m_height=64; m_capturing=false; m_channel=COMPOSITEIN; m_norm=VIDEO_MODE_AUTO; m_devicenum=DEVICENO; m_continue_thread = false; post("video4linux"); #endif /* HAVE_VIDEO4LINUX */ }
--------8<------------8<-------------
LG Georg
Georg Holzmann wrote:
Hallo again!
in constructor of videoV4l.cpp, m_continue_thread is not initialized, and because the first device is started automatically, it will be stopped (pthread_join) and it crashes if you use Gem together with PDP ... (doesn't crash if you only use GEM ...)
anyway, this fixes the problem: (videoV4L.cpp, line 53)
thanks for the bug-report; should be fixed in cvs now.
mfg.asdr. IOhannes