[vlc-devel] [RFC PATCH 11/13] FIXUP: slightly improve rate change
Denis Charmet
typx at dinauz.org
Fri Jun 29 12:01:32 CEST 2018
Hi,
On 2018-06-27 21:08, Rémi Denis-Courmont wrote:
> Le keskiviikkona 27. kesäkuuta 2018, 15.41.33 EEST Thomas Guillem a
> écrit :
>> + if (!main_clock->master && main_clock->rate != rate)
>> + main_clock->rate = rate;
>
> Useless (half) predicate.
>
While I agree it's not the most beautiful way to do it, we have to
handle case where there is no master (ie clock_monotonic master) and we
want to change the rate.
Regards,
--
Denis Charmet - TypX
Le mauvais esprit est un art de vivre
More information about the vlc-devel
mailing list