<html><head></head><body>Invalid should be changed to zero or unknown on case by case basis. I doubt that it's consistently used for zero duration - not that I'd have checked though.<br>
<br>
Capture device duration is not zero, it's indeterminate AFAICT.<br><br><div class="gmail_quote">Le 7 juillet 2018 11:35:57 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">For now I actually used 3 defines (invalid, zero, unknown) which are <br>strictly equivalent to the values that where there before but with no <br>meanings to the values.<br><br><br>I think invalid and zero should be merged because they had the same <br>value and an invalid duration doesn't make sense when we have zero and <br>unknown. But there might be cases where invalid actually meant unknown :'(<br><br><br>On 2018-07-06 19:07, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Le perjantaina 6. heinäkuuta 2018, 16.01.26 EEST Steve Lhomme a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Right now -1 and VLC_TICK_INVALID are used in the code. -1 seems to refer to<br> items with no duration set at all (not particularly 0) and some are set<br> VLC_TICK_INVALID which is actually 0 which is proper duration, at least<br> it's not unknown/unset.<br></blockquote> Oh yes please.<br><br> Though I think card items diuration should be unknown, not zero.<br><br> -- <br> 雷米‧德尼-库尔蒙<br> <a href="http://www.remlab.net/">http://www.remlab.net/</a><br><br><br><br><hr><br> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><br><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>