[vlc-devel] [PATCH 2/5] modules: make use of the special duration value INPUT_UNKNOWN_DURATION

Rémi Denis-Courmont remi at remlab.net
Sat Jul 7 09:15:04 CEST 2018


Le lauantaina 7. heinäkuuta 2018, 10.10.09 EEST Steve Lhomme a écrit :
> On 2018-07-06 18:29, Rémi Denis-Courmont wrote:
> > Le perjantaina 6. heinäkuuta 2018, 15.18.53 EEST Steve Lhomme a écrit :
> >> On 2018-06-23 9:53, Rémi Denis-Courmont wrote:
> >>> The duration of vlc://nop is *not* unknown. It's zero.
> >> 
> >> It's not always the case, in lua/sd and xcb_apps it's initialized to -1.
> > 
> > In those cases, there was confusion whether the item is supposed to
> > include
> > the duration of children or not. In XCB apps, the duration of each
> > children is obviously unknown.
> 
> You say "obviously" very liberally. It may be obvious to you but since I
> don't even know what XCB is,

It *is* obvious that SD items normally have unknown rather than non-zero 
duration.

What would be the point in having an SD that only publishes empty items?

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list