[vlc-devel] commit: xosd: simplification. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Feb 22 11:02:45 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Feb 22 10:54:57 2009 +0100| [432bf4311c88b59601c5640aa9e118f087ace9d0] | committer: Rémi Duraffort
xosd: simplification.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=432bf4311c88b59601c5640aa9e118f087ace9d0
---
modules/misc/notify/xosd.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/modules/misc/notify/xosd.c b/modules/misc/notify/xosd.c
index 51f10c8..edaa724 100644
--- a/modules/misc/notify/xosd.c
+++ b/modules/misc/notify/xosd.c
@@ -274,10 +274,6 @@ static void Run( intf_thread_t *p_intf )
continue;
}
input_item_t *p_input = p_item->p_input;
- vlc_gc_incref( p_input );
-
- PL_UNLOCK;
- pl_Release( p_intf );
mtime_t i_duration = input_item_GetDuration( p_input );
if( i_duration != -1 )
@@ -290,7 +286,8 @@ static void Run( intf_thread_t *p_intf )
else
psz_display = strdup( p_input->psz_name );
- vlc_gc_decref( p_input );
+ PL_UNLOCK;
+ pl_Release( p_intf );
}
/* Display */
More information about the vlc-devel
mailing list