[vlc-devel] [PATCH 4/4] Add rav1e encoder module

Francois Cartegnie fcvlcdev at free.fr
Tue Jul 21 15:55:11 CEST 2020

Le 21/07/2020 à 15:36, Kartik Ohri a écrit :
> So, I should simply drop the p_block->i_length line ?

Depends if you're expecting to deal with fixed frame rate only.
Otherwise the way to do is in my previous answer. Code is already there.

> On Tue, Jul 21, 2020 at 6:42 PM Francois Cartegnie <fcvlcdev at free.fr> wrote:
>> Le 21/07/2020 à 14:46, Steve Lhomme a écrit :
>>>> It's not.
>>> I don't understand how the length is wrong here.
>>>> If you don't compute length properly then don't set it.
>> Length is the distance between 2 consecutive timestamps.
>> If one time reference deals with non integral frames rates and not the
>> other, that can only be wrong.

Francois Cartegnie
VideoLAN - VLC Developer

More information about the vlc-devel mailing list