]> git.sesse.net Git - vlc/blobdiff - include/vlc_filter.h
demux: add DEMUX_IS_PLAYLIST
[vlc] / include / vlc_filter.h
index 4aebe8bd9d89f30b9b5656337c16f2d2fef2b700..8e023614a2c4ca52572db76898008f6b40e3e5bb 100644 (file)
@@ -50,7 +50,6 @@ typedef struct filter_owner_t
         struct
         {
             subpicture_t * (*buffer_new)( filter_t * );
-            void           (*buffer_del)( filter_t *, subpicture_t * );
         } sub;
     };
 } filter_owner_t;
@@ -181,8 +180,8 @@ static inline void filter_FlushPictures( filter_t *p_filter )
 
 /**
  * This function will return a new subpicture usable by p_filter as an output
- * buffer. You have to release it using filter_DeleteSubpicture or by returning
- * it to the caller as a pf_sub_source return value.
+ * buffer. You have to release it using subpicture_Delete or by returning it to
+ * the caller as a pf_sub_source return value.
  * Provided for convenience.
  *
  * \param p_filter filter_t object
@@ -196,19 +195,6 @@ static inline subpicture_t *filter_NewSubpicture( filter_t *p_filter )
     return subpic;
 }
 
-/**
- * This function will release a subpicture create by filter_NewSubicture.
- * Provided for convenience.
- *
- * \param p_filter filter_t object
- * \param p_subpicture to be released
- */
-static inline void filter_DeleteSubpicture( filter_t *p_filter,
-                                            subpicture_t *subpic )
-{
-    p_filter->owner.sub.buffer_del( p_filter, subpic );
-}
-
 /**
  * This function gives all input attachments at once.
  *