[vlc-devel] commit: Fix for p_input being now hidden. (Christophe Mutricy )
git version control
git at videolan.org
Wed Oct 1 22:41:35 CEST 2008
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Wed Oct 1 21:40:30 2008 +0100| [bf3045270801b5e1059941ea01bd70c62acfb326] | committer: Christophe Mutricy
Fix for p_input being now hidden.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf3045270801b5e1059941ea01bd70c62acfb326
---
modules/misc/notify/msn.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/misc/notify/msn.c b/modules/misc/notify/msn.c
index 6747e0a..90516c4 100644
--- a/modules/misc/notify/msn.c
+++ b/modules/misc/notify/msn.c
@@ -141,14 +141,12 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
char *psz_artist = NULL;
char *psz_album = NULL;
char *psz_buf = NULL;
- input_thread_t *p_input;
playlist_t *p_playlist = pl_Hold( p_this );
+ input_thread_t *p_input = playlist_CurrentInput( p_playlist );
- p_input = p_playlist->p_input;
pl_Release( p_this );
if( !p_input ) return VLC_SUCCESS;
- vlc_object_hold( p_input );
if( p_input->b_dead || !input_GetItem(p_input)->psz_name )
{
More information about the vlc-devel
mailing list