[vlc-commits] growl: ignore non-preparsed items

Felix Paul Kühne git at videolan.org
Sun Apr 10 21:42:25 CEST 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 10 21:42:21 2011 +0200| [c648054e7774798a5c34a2ccd5df84dd3b82a5ab] | committer: Felix Paul Kühne

growl: ignore non-preparsed items

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c648054e7774798a5c34a2ccd5df84dd3b82a5ab
---

 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 3f5d01d..c1dcd7f 100644
--- a/modules/misc/notify/growl.m
+++ b/modules/misc/notify/growl.m
@@ -173,6 +173,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