On 01 Aug, wm4 wrote :
> On Fri, 01 Aug 2014 02:28:41 +0200
> Luca Barbato <[email protected]> wrote:
> 
> > On 01/08/14 01:32, wm4 wrote:
> > > If the video stream is disabled (discard set to AVDISCARD_ALL), the code
> > > for adding a seek index entry is skipped. This breaks seeking, and seek
> > > requests will either skip to the start or end of the file.
> > > 
> > > Fix this by adding the seek entry before skipping the packet.
> > > ---
> > > Not sure if this is entirely correct. Why would video index entries
> > > matter for audio-only? Maybe the code should explicitly add index
> > > entries for audio? Anyway, this patch fixes it.
> > 
> > For AV files your patch looks fine, I wonder what happens for audio-only
> > on-demand-files though.
> 
> Me too... is there a sample file somewhere?

https://trac.videolan.org/vlc/raw-attachment/ticket/2973/audio-only-speex.flv
https://trac.videolan.org/vlc/raw-attachment/ticket/2973/audio-only-nellymoser.flv

Something like this?

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to