Commit d7cf24fe authored by Pierre Ynard's avatar Pierre Ynard

vod: remove pf_media_{add,del}_es

These are never used
parent 152fee0c
...@@ -46,8 +46,6 @@ struct vod_t ...@@ -46,8 +46,6 @@ struct vod_t
vod_media_t * (*pf_media_new) ( vod_t *, const char *, input_item_t * ); vod_media_t * (*pf_media_new) ( vod_t *, const char *, input_item_t * );
void (*pf_media_del) ( vod_t *, vod_media_t * ); void (*pf_media_del) ( vod_t *, vod_media_t * );
int (*pf_media_add_es)( vod_t *, vod_media_t *, es_format_t * );
void (*pf_media_del_es)( vod_t *, vod_media_t *, es_format_t * );
/* Owner properties */ /* Owner properties */
int (*pf_media_control) ( void *, vod_media_t *, const char *, int, va_list ); int (*pf_media_control) ( void *, vod_media_t *, const char *, int, va_list );
......
...@@ -297,8 +297,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -297,8 +297,6 @@ static int Open( vlc_object_t *p_this )
p_vod->pf_media_new = MediaNew; p_vod->pf_media_new = MediaNew;
p_vod->pf_media_del = MediaAskDel; p_vod->pf_media_del = MediaAskDel;
p_vod->pf_media_add_es = MediaAddES;
p_vod->pf_media_del_es = MediaDelES;
p_sys->p_fifo_cmd = block_FifoNew(); p_sys->p_fifo_cmd = block_FifoNew();
if( vlc_thread_create( p_vod, "rtsp vod thread", CommandThread, if( vlc_thread_create( p_vod, "rtsp vod thread", CommandThread,
......
...@@ -162,9 +162,6 @@ int OpenVoD( vlc_object_t *p_this ) ...@@ -162,9 +162,6 @@ int OpenVoD( vlc_object_t *p_this )
p_vod->pf_media_new = MediaNew; p_vod->pf_media_new = MediaNew;
p_vod->pf_media_del = MediaAskDel; p_vod->pf_media_del = MediaAskDel;
/* These are never used in the core, wonder why they're in the API */
p_vod->pf_media_add_es = NULL;
p_vod->pf_media_del_es = NULL;
p_sys->p_fifo_cmd = block_FifoNew(); p_sys->p_fifo_cmd = block_FifoNew();
if( vlc_thread_create( p_vod, "rtsp vod thread", CommandThread, if( vlc_thread_create( p_vod, "rtsp vod thread", CommandThread,
......
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