- {
- vlc_input_item_AddInfo( &p_item->input,
- _("Meta-information"),
- _( "Bitrate" ),
- "%s",
- psz_bitrate );
- }
- playlist_NodeAddItem( p_playlist, p_item,
- p_current->pp_parents[0]->i_view,
- p_current, PLAYLIST_APPEND,
- PLAYLIST_END );
-
- /* We need to declare the parents of the node as the
- * * same of the parent's ones */
- playlist_CopyParents( p_current, p_item );
-
- vlc_input_item_CopyOptions( &p_current->input,
- &p_item->input );
-#define FREE(a) if( a ) free( a ); a = NULL;
- FREE( psz_name );
- FREE( psz_mrl );
- FREE( psz_genre );
- FREE( psz_bitrate );
- FREE( psz_listeners );
- FREE( psz_now );
-#undef FREE
+ msg_Err( p_demux, "Unsupported meta bitrate" );
+
+ input_ItemAddSubItem( p_current_input, p_input );
+ vlc_gc_decref( p_input );
+ FREENULL( psz_name );
+ FREENULL( psz_mrl );
+ FREENULL( psz_genre );
+ FREENULL( psz_bitrate );
+ FREENULL( psz_listeners );
+ FREENULL( psz_now );