[vlc-devel] [PATCH 01/11] vlc_input_item: add documentation on what the duration values stand for

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 24 15:52:21 CEST 2018


---
 include/vlc_input_item.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 82ad4e4733..5eedd57bdd 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -108,8 +108,8 @@ struct input_item_t
 };
 
 #define INPUT_DURATION_INVALID   VLC_TICK_INVALID
-#define INPUT_DURATION_ZERO      0
-#define INPUT_DURATION_UNKNOWN   (-1)
+#define INPUT_DURATION_ZERO      0     /* temporary duration until it is known */
+#define INPUT_DURATION_UNKNOWN   (-1)  /* a duration that will never be known */
 
 enum input_item_type_e
 {
-- 
2.17.0



More information about the vlc-devel mailing list