[Android] [PATCH] Dynamically respond to video ES changes

Edward Wang edward.c.wang at compdigitec.com
Mon Jul 2 21:28:35 CEST 2012


On 12-07-02 10:46 AM, Rafaël Carré <funman at videolan.org> wrote:
> It looks very nice, do you have a sample with changing ES so we can test?
I just tested with the following network stream:

vlc --sout 
"#transcode{vcodec=h264,vb=800,scale=1,acodec=4a,ab=128,channels=2,samplerate=44100}:http{mux=ts,dst=:8080/}" 
--sout-keep

then I added in the order: audio, video, audio, audio, video, audio to 
trigger ES changed notification, and it works perfectly.

This also allows for playing OGG videos and possibly other formats not 
detected by a simple scan currently used, as j-b mentioned before.

Thanks,
         Edward Wang


More information about the Android mailing list