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? > Patch fine for me. > > lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
