]> git.sesse.net Git - vlc/blobdiff - include/vlc_input_item.h
Add libvlc_set_exit_handler(), more powerful than libvlc_wait()
[vlc] / include / vlc_input_item.h
index d4858c9180d61ea977aef66111fa0d5ab1e1e8f9..ca11d0910920a44c620a14077b7d2a2892a5bdc9 100644 (file)
@@ -86,7 +86,6 @@ struct input_item_t
     vlc_mutex_t lock;                 /**< Lock for the item */
 
     uint8_t     i_type;              /**< Type (file, disc, ... see input_item_type_e) */
-    bool        b_prefers_tree;      /**< Do we prefer being displayed as tree*/
     bool        b_fixed_name;        /**< Can the interface change the name ?*/
     bool        b_error_when_reading;/**< Error When Reading */
 };
@@ -263,6 +262,12 @@ VLC_EXPORT( input_item_t *, input_item_NewExt, (vlc_object_t *, const char *psz_
  */
 #define input_item_New( a,b,c ) input_item_NewExt( a, b, c, 0, NULL, 0, -1 )
 
+/**
+ * This function creates a new input_item_t as a copy of another.
+ */
+VLC_EXPORT( input_item_t *, input_item_Copy, (vlc_object_t *, input_item_t * ) );
+
+
 /******************
  * Input stats
  ******************/