[PyQt] Embedding VLC

2010-02-26 Thread jaybstory
Hello, I wanted to know if it is possible to embed VLC into a GUI (or to use QProcess to somehow open the external application inside a GUI), if so, how would I go about accomplishing this? Right now, I am using QProcess to open external applications which open in a separate window. I want t

Re: [PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Denis RIVIERE
Le vendredi 26 février 2010, Phil Thompson a écrit : > > The pthread_atfork() didn't work for me. > > The /HoldGIL/ annotation did. > > Phil Same conclusion: the pthread_atfork() just produces a systematic hold at the first fork. /HoldGIL/ seems to work. Thanks for your help. Denis

Re: [PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Phil Thompson
On Fri, 26 Feb 2010 14:14:51 +0100, Denis RIVIERE wrote: > Le vendredi 26 février 2010, Phil Thompson a écrit : >> On Fri, 26 Feb 2010 12:08:58 +, Phil Thompson >> >> wrote: >> > >> > Unless you can provide me with a test case you'll have to experiment... >> > >> > Try adding... >> > >> >

Re: [PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Denis RIVIERE
Le vendredi 26 février 2010, Phil Thompson a écrit : > On Fri, 26 Feb 2010 12:08:58 +, Phil Thompson > > wrote: > > > > Unless you can provide me with a test case you'll have to experiment... > > > > Try adding... > > > > pthread_atfork(NULL, NULL, PyOS_AfterFork); > > > > ...after the cal

Re: [PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Phil Thompson
On Fri, 26 Feb 2010 12:08:58 +, Phil Thompson wrote: > On Fri, 26 Feb 2010 11:05:44 +0100, Denis RIVIERE > wrote: >> We have run into what we think to be more or less a bug in PyQt4, in >> QProcess, >> somewhat indirectly. >> QProcess sometimes hangsup in threaded PyQt applications, at least

Re: [PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Phil Thompson
On Fri, 26 Feb 2010 11:05:44 +0100, Denis RIVIERE wrote: > We have run into what we think to be more or less a bug in PyQt4, in > QProcess, > somewhat indirectly. > QProcess sometimes hangsup in threaded PyQt applications, at least on Linux > > systems. > The situation is the following: > - A Py

[PyQt] QProcess hangup using PyQt + threads

2010-02-26 Thread Denis RIVIERE
We have run into what we think to be more or less a bug in PyQt4, in QProcess, somewhat indirectly. QProcess sometimes hangsup in threaded PyQt applications, at least on Linux systems. The situation is the following: - A PyQt program is using two or more threads (say, python threads) - one of the