On 01/08/14 03:18, Jean-Baptiste Kempf wrote:
> 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?
> 

Those are broken files

    Stream #0.0: Video: [0][0][0][0] / 0x0000, 1k tbn
    Stream #0.1: Audio: libspeex, 16000 Hz, mono, s16


To fix seeking there I need to change the patch a little...

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to