[vlc-devel] [v3 0/9] Input item duration cleaning

Rémi Denis-Courmont remi at remlab.net
Thu Jul 26 17:56:57 CEST 2018


Le torstaina 26. heinäkuuta 2018, 11.03.53 EEST Steve Lhomme a écrit :
> With more refined comments on each value it becomes clearer which is what.
> - Invalid is actually "no value" (which ends up being 0)

To me, that's incomprehensible.

> - 0 is meant to be set explicitly to 0 (not none, and no define needed)

OK.

> - unknown is reserved for live sources

This is misleading.

In English, unknown means "not known".  It does not mean "not applicable" or 
"undefined". An obvious case of unknown duration is the input item whose 
duration has not yet been parsed - not the input item without ontological 
duration.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list