[vlc-devel] [PATCH 4/9] vlc_input_item: add a define for the unset duration

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 6 15:01:30 CEST 2018


---
 include/vlc_input_item.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index de1506400a..33f8b7fc99 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -108,6 +108,7 @@ struct input_item_t
 };
 
 #define INPUT_DURATION_ZERO   VLC_TICK_INVALID
+#define INPUT_DURATION_UNKNOWN     (-1)
 
 enum input_item_type_e
 {
-- 
2.17.0



More information about the vlc-devel mailing list