[vlc-devel] [v4 07/10] input:item: the duration for card items is indefinite
Steve Lhomme
robux4 at ycbcr.xyz
Fri Jul 27 12:49:07 CEST 2018
(aka not finite)
---
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 )
--
2.17.0
More information about the vlc-devel
mailing list