[vlc-devel] How can I get/set time and get/set mute from plugin thread?

L{ DiracDelta( t ) } ldiracdelta at gmail.com
Thu Nov 26 15:34:10 CET 2009


I found methods:
libvlc_media_player_get_time( libvlc_media_player_t *, libvlc_exception_t *)
libvlc_media_player_set_time( libvlc_media_player_t *, libvlc_exception_t *)
libvlc_audio_toggle_mute( libvlc_instance_t *)
libvlc_audio_get_mute( libvlc_instance_t *)

How can I access these methods within the Run function of a plugin?

I have a pointer to an instance of libvlc_int_t through
p_intf<http://www.videolan.org/developers/vlc/doc/doxygen/html/structintf__thread__t.html>->p_libvlc.
Is it possible to get a pointer to
libvlc_media_player_t<http://www.videolan.org/developers/vlc/doc/doxygen/html/structlibvlc__media__player__t.html>or
libvlc_instance_t<http://www.videolan.org/developers/vlc/doc/doxygen/html/structlibvlc__instance__t.html>so
I can use these methods?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091126/acd40a0e/attachment.html>


More information about the vlc-devel mailing list