[vlc-devel] [PATCH] libvlc: add libvlc_media_parse_with_options
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Thu Jan 15 19:37:22 CET 2015
    
    
  
Le 2015-01-15 21:11, Felix Paul Kühne a écrit :
> Tbh, I’d appreciate a sync mode, as in some corner cases, a certain
> client app needs to wait until libvlc finished parsing before 
> starting
> playback. Using sync parsing is a simple and efficient way to
> accomplish this.
You're confusing the sync mode with the ability to be signaled of 
completion.
Sync mode is highly undesirable in any circumstance because the calling 
thread gets stuck for arbitrarily long with no way out. The only 
reasonable way to use sync mode is in a dedicated process, e.g. a CLI 
tool.
-- 
Rémi Denis-Courmont
    
    
More information about the vlc-devel
mailing list