[vlc-devel] [v3 7/9] vlc_input_item: remove INPUT_DURATION_ZERO
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jul 26 10:04:00 CEST 2018
If a duration is explicitly 0 (an item that won't play any content) then it can
be set to 0 directly.
---
include/vlc_input_item.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 91c9bf3076..638bed7e9b 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -125,7 +125,6 @@ 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_ZERO 0 /* an item with a zero duration */
#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