Commit 83d76733 authored by Clément Stenac's avatar Clément Stenac

Fix locking

parent 96611479
...@@ -847,8 +847,6 @@ int CDDAAddMetaToItem( access_t *p_access, cdda_data_t *p_cdda, ...@@ -847,8 +847,6 @@ int CDDAAddMetaToItem( access_t *p_access, cdda_data_t *p_cdda,
playlist_item_t *p_item, int i_track, playlist_item_t *p_item, int i_track,
vlc_bool_t b_single ) vlc_bool_t b_single )
{ {
vlc_mutex_lock( &p_item->input.lock );
add_playlist_track_info_str("Source", p_cdda->psz_source); add_playlist_track_info_str("Source", p_cdda->psz_source);
vlc_input_item_AddInfo( &p_item->input, _("Track"), _("Track Number"), vlc_input_item_AddInfo( &p_item->input, _("Track"), _("Track Number"),
"%d", i_track ); "%d", i_track );
...@@ -893,8 +891,6 @@ int CDDAAddMetaToItem( access_t *p_access, cdda_data_t *p_cdda, ...@@ -893,8 +891,6 @@ int CDDAAddMetaToItem( access_t *p_access, cdda_data_t *p_cdda,
} }
#endif /*HAVE_LIBCDDB*/ #endif /*HAVE_LIBCDDB*/
vlc_mutex_unlock( &p_item->input.lock );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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