[vlc-devel] [vlc-commits] access: rtp: handle drops for discontinuity propagation
fcvlcdev at free.fr
Wed Sep 6 19:42:01 CEST 2017
Le 06/09/2017 à 19:15, Rémi Denis-Courmont a écrit :
> Le keskiviikkona 6. syyskuuta 2017, 18.57.33 EEST Francois Cartegnie a écrit :
>> Le 06/09/2017 à 18:08, Rémi Denis-Courmont a écrit :
>>> Le keskiviikkona 6. syyskuuta 2017, 14.33.57 EEST Francois Cartegnie a
> écrit :
>>>> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 5
>>>> 15:15:56 2017 +0200| [079eaa8cb024fabbc38168b9ad7bb5abb4e0de7b] |
>>>> committer: Francois Cartegnie
>>>> access: rtp: handle drops for discontinuity propagation
>>> This is totally counter sensical. Discontinuity must be passed downstream,
>>> not upstream. Please revert.
>> ???? that's downstream, still notifying decoders.
> Immediately, you´re passing the flag to the *upstream* RTP code, instead of
> the *downstream* ES output or demux, and clobbering the RTP-level state all
> the while. Passing it downstream is setting the flag to the output block.
>> Previously the flagged discontinuity block could have been dropped.
> That sounds like a limitation/bug of the depayloading callback. That does not
> sound like a reason to pass the flag in the wrong direction.
I can't understand a thing.
New code is just tagging the source with discontinuity instead of
tagging the block directly, and the block flag is applied on the current
block (what was just done before), or next queued block in case that
block is dropped.
Other code just ensures realloc or splits does not affect the
VideoLAN - VLC Developer
More information about the vlc-devel