On Oct 13, 3:13 pm, "Edward K. Ream" <[email protected]> wrote:

> The following @button nodes allow me to watch movies in the body pane!
> The only problem is that the act of creating the phonon.VideoPlayer
> causes Leo to crash on exit.  Presumably it's a bug in phonon :-)

It's clearly some kind of dangling pointer problem.  No problem:

vp = phonon.VideoPlayer(phonon.VideoCategory)

But this crashes when Leo quits:

    top.video_player = phonon.VideoPlayer(phonon.VideoCategory)

And there is no problem with this:

    vp = phonon.VideoPlayer(phonon.VideoCategory)
    top.video_player = vp
    delattr(top,'video_player')

And experiments show that the stackedWindow is not the problem.  The
crash can occur even when the player plays "invisibly" (not connected
to any window at all).

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to