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

Steve Lhomme robux4 at ycbcr.xyz
Sun Jun 24 09:36:13 CEST 2018


We could have INPUT_NO_DURATION in addition to INPUT_UNKNOWN_DURATION.
That's technically where VLC_TS_INVALID was used.
On the output these 2 values will never be seen or they should be
checked each time input_GetDuration is used. I have no prereference but
for compatibility and avoiding running into issues it's probably better
to return 0 for now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180624/882e4b94/attachment.html>


More information about the vlc-devel mailing list