[vlc-devel] [v3 2/9] input:item: the duration for card items is INPUT_DURATION_UNKNOWN

Steve Lhomme robux4 at ycbcr.xyz
Thu Jul 26 10:03:55 CEST 2018


---
 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 04b629e819..91c9bf3076 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -344,7 +344,7 @@ VLC_API input_item_t * input_item_NewExt( const char *psz_uri,
     input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_NONE, ITEM_TYPE_UNKNOWN, ITEM_NET_UNKNOWN )
 
 #define input_item_NewCard( psz_uri, psz_name ) \
-    input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_NONE, ITEM_TYPE_CARD, ITEM_LOCAL )
+    input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_UNKNOWN, ITEM_TYPE_CARD, ITEM_LOCAL )
 
 #define input_item_NewDisc( psz_uri, psz_name, i_duration ) \
     input_item_NewExt( psz_uri, psz_name, i_duration, ITEM_TYPE_DISC, ITEM_LOCAL )
-- 
2.17.0



More information about the vlc-devel mailing list