[vlc-commits] growl: ignore non-preparsed items
Felix Paul Kühne
git at videolan.org
Sun Apr 10 21:43:17 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 10 21:43:14 2011 +0200| [6db571f88b6d476dbd3cb3f297775ddac1de5710] | committer: Felix Paul Kühne
growl: ignore non-preparsed items
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6db571f88b6d476dbd3cb3f297775ddac1de5710
---
modules/misc/notify/growl.m | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/misc/notify/growl.m b/modules/misc/notify/growl.m
index ea04e75..329144f 100644
--- a/modules/misc/notify/growl.m
+++ b/modules/misc/notify/growl.m
@@ -174,6 +174,9 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
p_intf->p_sys->i_item_changes = 0;
return VLC_SUCCESS;
}
+ /* ignore items which weren't pre-parsed yet */
+ else if( !input_item_IsPreparsed(p_item) )
+ return VLC_SUCCESS;
else
{
if( p_item->i_id != p_intf->p_sys->i_id ) { /* "item-change" */
More information about the vlc-commits
mailing list