[vlc-devel] commit: growl: fix compilation. ( Rémi Duraffort )
git version control
git at videolan.org
Tue May 5 21:13:07 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue May 5 21:00:26 2009 +0200| [f6d64155e32aa62fafcad71fa4be2cb6abae3c81] | committer: Rémi Duraffort
growl: fix compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6d64155e32aa62fafcad71fa4be2cb6abae3c81
---
modules/misc/notify/growl.m | 2 +-
modules/misc/notify/growl_udp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/notify/growl.m b/modules/misc/notify/growl.m
index 19c8900..b99904d 100644
--- a/modules/misc/notify/growl.m
+++ b/modules/misc/notify/growl.m
@@ -161,7 +161,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
input_thread_t *p_input;
playlist_t *p_playlist = pl_Hold( p_this );
- p_input = p_playlist->p_input;
+ p_input = playlist_CurrentInput( p_playlist );
pl_Release( p_this );
if( !p_input ) return VLC_SUCCESS;
diff --git a/modules/misc/notify/growl_udp.c b/modules/misc/notify/growl_udp.c
index 3ef0e9e..6e37f26 100644
--- a/modules/misc/notify/growl_udp.c
+++ b/modules/misc/notify/growl_udp.c
@@ -123,7 +123,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
input_thread_t *p_input;
playlist_t *p_playlist = pl_Hold( p_this );
- p_input = p_playlist->p_input;
+ p_input = playlist_CurrentInput( p_playlist );
pl_Release( p_this );
if( !p_input ) return VLC_SUCCESS;
More information about the vlc-devel
mailing list