[vlc-commits] vlc_input_item: add a define for the unset duration

Steve Lhomme git at videolan.org
Sat Jul 7 10:17:09 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul  6 13:22:24 2018 +0200| [ef8a6e070219801c6d671bd6f09894c1f01fd802] | committer: Steve Lhomme

vlc_input_item: add a define for the unset duration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef8a6e070219801c6d671bd6f09894c1f01fd802
---

 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 e0dc6e8533..82ad4e4733 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -109,6 +109,7 @@ struct input_item_t
 
 #define INPUT_DURATION_INVALID   VLC_TICK_INVALID
 #define INPUT_DURATION_ZERO      0
+#define INPUT_DURATION_UNKNOWN   (-1)
 
 enum input_item_type_e
 {



More information about the vlc-commits mailing list