[vlc-commits] input:item: the duration for card items is indefinite

Steve Lhomme git at videolan.org
Mon Jul 30 07:16:02 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 26 06:42:42 2018 +0200| [241f4af975d0de92bd57f575cf1b96fbb7434dff] | committer: Steve Lhomme

input:item: the duration for card items is indefinite

(aka not finite)

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

 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 4ab47725a9..38cc0e82c2 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -345,7 +345,7 @@ VLC_API input_item_t * input_item_NewExt( const char *psz_uri,
     input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_UNSET, ITEM_TYPE_UNKNOWN, ITEM_NET_UNKNOWN )
 
 #define input_item_NewCard( psz_uri, psz_name ) \
-    input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_INVALID, ITEM_TYPE_CARD, ITEM_LOCAL )
+    input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_INDEFINITE, 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 )



More information about the vlc-commits mailing list