[mythtv] [PATCH] mythfrontend segfault due to NULL thread privrequest

Isaac Richards ijr at po.cwru.edu
Fri Sep 10 02:02:50 EDT 2004


On Friday 10 September 2004 01:45 am, Mark Spieth wrote:
> even easier fix.
> make sure that outputvideo thread is alive for > 1 sec
> at end of output_video just before return
> usleep(1500000);    // 1.5 secs
> and then the sched is guaranteed to have happened while the thread is
> alive. also addPrivRequest at top of thread not in StartPlaying. should fix
> it permanently with the 1 sec sleep in the priv req thread

No, what's in CVS works fine.  It'll only fail if you start playing and then 
exit immediately, and not with the preview screen anymore.

Isaac


More information about the mythtv-dev mailing list