[vlc-devel] [PATCH] seeking of vlm streams, get vlm "show" output as char*, added to Java binings as well

Joerg vlc-ml at aab.noctis.de
Tue Sep 5 18:55:08 CEST 2006


attached is a patch (beware - I'm modifying VLC for the first time) based 
on the 2006-08-16 snapshot (sorry).

Comments are welcome, but please don't shoot me on sight ;) I know that 
libvlc_vlm_show_media is an ugly hack - I'm open for suggestions.


The following things were modified:

* libvlc_vlm_seek_media
   Seek in a vlm stream

* libvlc_vlm_show_media
   Get the info that "show medianame" provides as string. This is kind-of-a 
hack, but I needed a simple way to get this info without telnet.

Java bindings:
* VlcClient.java
   If there's a textfield for the MRL it should be used.

* VLM.java
   Added the JNI wrappers for seekMedia and showMedia

* core-jni.cc
   Changes for compilation with cygwin

* video-jni.cc
   cast from HWND to libvlc_drawable_t

* vlm-jni.cc
   JNI counterparts for VLM's seekMedia and showMedia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-vlm-seek+showmedia.diff
Type: application/octet-stream
Size: 9113 bytes
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060905/8ef8a289/attachment.obj>

More information about the vlc-devel mailing list