Gustavo Sverzut Barbieri wrote:
> Hello guys,
>
> I'm implementing MPAV (MPlayer Audio Visualization,
> http://gsbarbieri.sytes.net/mpav/) but I found some issues:
>
> - childapp.py: Sometimes poll() is called before the child __init__()
> is finished, so many times it breaks because there's no t1 or t2
> attributes (isAlive()).
> I solved this declaring "ready=False" as class attribute and setting it
> to True at the end of __init__(). Then isAlive() must check if it's
> ready. It's the right solution?
No, I guess we should better find out why this happens. Do you use
ChildApp or ChildApp2? For ChildApp2 this shouldn't happen because
there is not thread to be a problem at this point.
> - The second issue is with stop_osd. I need to stop the osd, since my
> app uses SDL and can display in framebuffer and dxr3. I'm using
> ChildApp2 and leave stop_osd=2, so it must stop the osd when
> OSD_STOP_WHEN_PLAYING=1 but instead of just stop the osd, it exits and
> leaves mplayer playing!
add some 'print' debug to see why. What do you mean with 'just exits'?
Freevo stops?
Dischi
--
Expert, n.:
Someone who comes from out of town and shows slides.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel