Commit 1ae081be authored by littlejohn's avatar littlejohn
Browse files

playlist_ItemGetByInputId now included in libvlc

parent bd205274
...@@ -382,8 +382,9 @@ playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist, ...@@ -382,8 +382,9 @@ playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
vlc_bool_t ); vlc_bool_t );
/********************************** Item search *************************/ /********************************** Item search *************************/
VLC_EXPORT( playlist_item_t *, playlist_ItemGetById, (playlist_t *, int, vlc_bool_t) ); VLC_EXPORT( playlist_item_t *, playlist_ItemGetById, (playlist_t *, int, vlc_bool_t ) );
VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInput, (playlist_t *,input_item_t *, vlc_bool_t ) ); VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInput, (playlist_t *,input_item_t *, vlc_bool_t ) );
VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInputId, (playlist_t *, int, playlist_item_t *) );
VLC_EXPORT( int, playlist_LiveSearchUpdate, (playlist_t *, playlist_item_t *, const char *) ); VLC_EXPORT( int, playlist_LiveSearchUpdate, (playlist_t *, playlist_item_t *, const char *) );
......
...@@ -245,6 +245,7 @@ struct module_symbols_t ...@@ -245,6 +245,7 @@ struct module_symbols_t
playlist_item_t* (*playlist_ItemToNode_inner) (playlist_t *,playlist_item_t *, vlc_bool_t); playlist_item_t* (*playlist_ItemToNode_inner) (playlist_t *,playlist_item_t *, vlc_bool_t);
playlist_item_t * (*playlist_ItemGetById_inner) (playlist_t *, int, vlc_bool_t); playlist_item_t * (*playlist_ItemGetById_inner) (playlist_t *, int, vlc_bool_t);
playlist_item_t * (*playlist_ItemGetByInput_inner) (playlist_t *,input_item_t *, vlc_bool_t); playlist_item_t * (*playlist_ItemGetByInput_inner) (playlist_t *,input_item_t *, vlc_bool_t);
playlist_item_t * (*playlist_ItemGetByInputId_inner) (playlist_t *, int, playlist_item_t *);
int (*playlist_RecursiveNodeSort_inner) (playlist_t *, playlist_item_t *,int, int); int (*playlist_RecursiveNodeSort_inner) (playlist_t *, playlist_item_t *,int, int);
int (*playlist_Export_inner) (playlist_t *p_playlist, const char *psz_name, playlist_item_t *p_export_root, const char *psz_type); int (*playlist_Export_inner) (playlist_t *p_playlist, const char *psz_name, playlist_item_t *p_export_root, const char *psz_type);
spu_t * (*__spu_Create_inner) (vlc_object_t *); spu_t * (*__spu_Create_inner) (vlc_object_t *);
...@@ -681,6 +682,7 @@ struct module_symbols_t ...@@ -681,6 +682,7 @@ struct module_symbols_t
# define playlist_ItemToNode (p_symbols)->playlist_ItemToNode_inner # define playlist_ItemToNode (p_symbols)->playlist_ItemToNode_inner
# define playlist_ItemGetById (p_symbols)->playlist_ItemGetById_inner # define playlist_ItemGetById (p_symbols)->playlist_ItemGetById_inner
# define playlist_ItemGetByInput (p_symbols)->playlist_ItemGetByInput_inner # define playlist_ItemGetByInput (p_symbols)->playlist_ItemGetByInput_inner
# define playlist_ItemGetByInputId (p_symbols)->playlist_ItemGetByInputId_inner
# define playlist_RecursiveNodeSort (p_symbols)->playlist_RecursiveNodeSort_inner # define playlist_RecursiveNodeSort (p_symbols)->playlist_RecursiveNodeSort_inner
# define playlist_Export (p_symbols)->playlist_Export_inner # define playlist_Export (p_symbols)->playlist_Export_inner
# define __spu_Create (p_symbols)->__spu_Create_inner # define __spu_Create (p_symbols)->__spu_Create_inner
...@@ -1120,6 +1122,7 @@ struct module_symbols_t ...@@ -1120,6 +1122,7 @@ struct module_symbols_t
((p_symbols)->playlist_ItemToNode_inner) = playlist_ItemToNode; \ ((p_symbols)->playlist_ItemToNode_inner) = playlist_ItemToNode; \
((p_symbols)->playlist_ItemGetById_inner) = playlist_ItemGetById; \ ((p_symbols)->playlist_ItemGetById_inner) = playlist_ItemGetById; \
((p_symbols)->playlist_ItemGetByInput_inner) = playlist_ItemGetByInput; \ ((p_symbols)->playlist_ItemGetByInput_inner) = playlist_ItemGetByInput; \
((p_symbols)->playlist_ItemGetByInputId_inner) = playlist_ItemGetByInputId; \
((p_symbols)->playlist_RecursiveNodeSort_inner) = playlist_RecursiveNodeSort; \ ((p_symbols)->playlist_RecursiveNodeSort_inner) = playlist_RecursiveNodeSort; \
((p_symbols)->playlist_Export_inner) = playlist_Export; \ ((p_symbols)->playlist_Export_inner) = playlist_Export; \
((p_symbols)->__spu_Create_inner) = __spu_Create; \ ((p_symbols)->__spu_Create_inner) = __spu_Create; \
......
...@@ -203,6 +203,7 @@ playlist_GetPreferredNode ...@@ -203,6 +203,7 @@ playlist_GetPreferredNode
playlist_IsServicesDiscoveryLoaded playlist_IsServicesDiscoveryLoaded
playlist_ItemGetById playlist_ItemGetById
playlist_ItemGetByInput playlist_ItemGetByInput
playlist_ItemGetByInputId
__playlist_ItemNewFromInput __playlist_ItemNewFromInput
playlist_ItemNewWithType playlist_ItemNewWithType
playlist_ItemSetName playlist_ItemSetName
......
...@@ -110,8 +110,6 @@ playlist_item_t *playlist_GetLastLeaf( playlist_t *p_playlist, ...@@ -110,8 +110,6 @@ playlist_item_t *playlist_GetLastLeaf( playlist_t *p_playlist,
int playlist_DeleteFromItemId( playlist_t*, int ); int playlist_DeleteFromItemId( playlist_t*, int );
int playlist_ItemDelete ( playlist_item_t * ); int playlist_ItemDelete ( playlist_item_t * );
playlist_item_t *playlist_ItemGetByInputId( playlist_t*, int, playlist_item_t*);
/** /**
* @} * @}
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment