[vlc-devel] [PATCH 02/11] vlc_input_item: the duration for card items is INPUT_DURATION_UNKNOWN
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jul 24 15:52:22 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 5eedd57bdd..acfa73e838 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -342,7 +342,7 @@ VLC_API input_item_t * input_item_NewExt( const char *psz_uri,
input_item_NewExt( psz_uri, psz_name, INPUT_DURATION_INVALID, 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_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