vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Aug 16 12:45:11 2014 +0300| [9c2210236e1097b5a0d6fef356c34a5c8f63d936] | committer: Rémi Denis-Courmont
playlist: do not copy string solely for debug > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c2210236e1097b5a0d6fef356c34a5c8f63d936 --- src/playlist/thread.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/playlist/thread.c b/src/playlist/thread.c index 37b73f2..8130056 100644 --- a/src/playlist/thread.c +++ b/src/playlist/thread.c @@ -225,17 +225,15 @@ static void PlayItem( playlist_t *p_playlist, playlist_item_t *p_item ) /* TODO store art policy in playlist private data */ char *psz_arturl = input_item_GetArtURL( p_input ); - char *psz_name = input_item_GetName( p_input ); /* p_input->p_meta should not be null after a successful CreateThread */ bool b_has_art = !EMPTY_STR( psz_arturl ); if( !b_has_art || strncmp( psz_arturl, "attachment://", 13 ) ) { - PL_DEBUG( "requesting art for %s", psz_name ); + PL_DEBUG( "requesting art for new input thread" ); libvlc_ArtRequest( p_playlist->p_libvlc, p_input, META_REQUEST_OPTION_NONE ); } free( psz_arturl ); - free( psz_name ); PL_UNLOCK; var_TriggerCallback( p_playlist, "activity" ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
