[vlc-devel] [v3 8/9] vlc_input_item: use 0 instead of VLC_TICK_INVALID for INPUT_DURATION_NONE
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jul 26 10:04:01 CEST 2018
It's not an invalid value and it must always be 0
---
include/vlc_input_item.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 638bed7e9b..c218465c69 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -124,7 +124,7 @@ struct input_item_t
#define INPUT_ITEM_URI_NOP "vlc://nop" /* dummy URI for node/directory items */
-#define INPUT_DURATION_NONE VLC_TICK_INVALID /* an item with no duration, like a node/directory */
+#define INPUT_DURATION_NONE 0 /* an item with no duration, like a node/directory */
#define INPUT_DURATION_UNKNOWN (-1) /* an item with no duration (live/continuous source) */
enum input_item_net_type
--
2.17.0
More information about the vlc-devel
mailing list