Changeset 88ff21f116e5a39e0261a984e99e9f1bc47aec9e

Show
Ignore:
Timestamp:
04/07/08 23:28:20 (5 months ago)
Author:
Filippo Carone <littlejohn@videolan.org>
git-committer:
Filippo Carone <littlejohn@videolan.org> 1207603700 +0200
git-parent:

[d6339e0bfb17513dc877a3ccef52769678e68e4d]

git-author:
Filippo Carone <littlejohn@videolan.org> 1207603688 +0200
Message:

VLM class almost done

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java

    reeb354f r88ff21f  
    4646 
    4747    private MediaList mediaList; 
     48     
     49    private VLM vlm; 
    4850     
    4951    private volatile boolean released;  
     
    9799    } 
    98100     
     101    public VLM getVLM() 
     102    { 
     103        if (vlm != null) 
     104        { 
     105            vlm.release(); 
     106        } 
     107        this.vlm = new VLM(this); 
     108        return vlm; 
     109    } 
     110     
    99111    public LoggerVerbosityLevel getLogVerbosity() 
    100112    { 
     
    137149        { 
    138150            released = true; 
     151            if (vlm != null) 
     152            { 
     153                vlm.release(); 
     154                vlm = null; 
     155            } 
    139156            libvlc.libvlc_release(instance); 
    140157        } 
  • bindings/java/core/src/main/java/org/videolan/jvlc/VLM.java

    r2a3749f r88ff21f  
    3131public class VLM 
    3232{ 
    33  
    3433    private JVLC jvlc; 
    3534 
     
    141140    } 
    142141 
     142    /** 
     143     *  
     144     */ 
     145    public void release() 
     146    { 
     147        libvlc_exception_t exception = new libvlc_exception_t(); 
     148        jvlc.getLibvlc().libvlc_vlm_release(jvlc.getInstance(), exception); 
     149    } 
     150 
    143151     
    144152} 
  • bindings/java/core/src/main/java/org/videolan/jvlc/internal/LibVlc.java

    re8eb613 r88ff21f  
    530530    String libvlc_vlm_show_media(LibVlcInstance p_instance, String psz_name, libvlc_exception_t p_e); 
    531531 
     532    void libvlc_vlm_release(LibVlcInstance p_instance, libvlc_exception_t p_e); 
     533     
    532534    // event manager 
    533535