]> git.sesse.net Git - vlc/blobdiff - src/playlist/loadsave.c
don't copy 'meta-file' option to inputs
[vlc] / src / playlist / loadsave.c
index bdd6b377def09f454f797eab8b6226876c4c69e9..be675b0a11bfeae0b417e06706918ce3275cacbe 100644 (file)
@@ -97,14 +97,6 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
     playlist_t *p_playlist = user_data;
     input_item_t *p_item = p_event->u.input_item_subitem_added.p_new_child;
 
-    /* The media library input has one and only one option: "meta-file"
-     * So we remove that unneeded option. */
-    if( p_item->i_options == 1 )
-    {
-        free( p_item->ppsz_options[0] );
-        p_item->i_options = 0;
-    }
-
     playlist_AddInput( p_playlist, p_item, PLAYLIST_APPEND, PLAYLIST_END,
             VLC_FALSE, VLC_FALSE );
 }