[vlc-devel] [PATCH 1/3] packetizer:copy: handle the BLOCK_FLAG_DISCONTINUITY

Steve Lhomme robux4 at gmail.com
Tue Nov 17 20:54:32 CET 2015


On Tue, Nov 17, 2015 at 4:47 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-11-17 13:25, Steve Lhomme a écrit :
>>
>> On Tue, Nov 17, 2015 at 10:20 AM, Rémi Denis-Courmont
>> <remi at remlab.net> wrote:
>>>
>>> You seem to confuse discontinuity and flush. C.f. recent discussions.
>>
>>
>> There's not really a flag for that.
>
>
> There is indeed no external flag for flushing (and I don't think that should
> be a flag).
>
> But then again, there is no support for flushing packetizer (unless you
> count draining as flushing).

I'm working on adding a pf_flush callback to decoder_t, with fallback
code. That should make things a bit cleaner. Flushing is a special
thing that doesn't work well with passing a fake block_t with a flag.
In the end you never know if that flag is exclusive or there can be
other flags and actual data to decode/packetize.

>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list