[vlc-devel] vlc: svn commit r20776 (pdherbemont)

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue Jul 10 11:52:47 CEST 2007


> this one may help. We indeed trigger the media_instance stuff from  
> the input event.
It is getting better: I can now play the movie, do repeated play/pause
actions on it. However, it blocks when I try to change the player
position (through the libvlc_media_instance_set_time method). I think it
is related to the mutex warnings messages that are displayed on movie
start:

In [1]:import vlc

In [2]:mc=vlc.MediaControl('--plugin-path /home/oaubert/src/vlc-test'.split() )
[00000297] main playlist error: Reloading playlist not implemented.

In [3]:mc.playlist_add_item('/tmp/k.mpg')

In [4]:mc.start(0)
[00000012] main module error: thread -1279276144: mutex_lock failed at ../../vlc-trunk/src/control/media_instance.c:74 (22:Invalid argument)
[00000012] main module error: thread -1279276144: mutex_unlock failed at ../../vlc-trunk/src/control/media_instance.c:91 (22:Invalid argument)
[00000012] main module error: thread -1279276144: mutex_lock failed at ../../vlc-trunk/src/control/media_instance.c:231 (22:Invalid argument)
[00000012] main module error: thread -1279276144: mutex_lock failed at ../../vlc-trunk/src/control/media_instance.c:74 (22:Invalid argument)
[00000012] main module error: thread -1279276144: mutex_unlock failed at ../../vlc-trunk/src/control/media_instance.c:91 (22:Invalid argument)
[00000012] main module error: thread -1279276144: mutex_unlock failed at ../../vlc-trunk/src/control/media_instance.c:244 (22:Invalid argument)

In [5]:mc.pause(0)
# Works

In [6]:mc.pause(0)
# Correctly resumes the playing

In [7]:mc.set_media_position(2000)
# !! Locks the process. 

Seems like there still are some locking issues in the media_instance code.

Olivier

_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list