[vlc-devel] commit: Backport [3a8dc9aa12268701539287f7a93726935fb87d77] ( Rafaël Carré )
git version control
git at videolan.org
Fri May 30 15:54:16 CEST 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Fri May 30 15:55:55 2008 +0200| [4c8aaba1ed9288a8c9f1d81dd08d486f5cc9139e]
Backport [3a8dc9aa12268701539287f7a93726935fb87d77]
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c8aaba1ed9288a8c9f1d81dd08d486f5cc9139e
---
modules/codec/cmml/intf.c | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/modules/codec/cmml/intf.c b/modules/codec/cmml/intf.c
index 5bb7f56..f2a74c8 100644
--- a/modules/codec/cmml/intf.c
+++ b/modules/codec/cmml/intf.c
@@ -181,18 +181,17 @@ static void RunIntf( intf_thread_t *p_intf )
msg_Dbg( p_intf, "CMML intf initialized" );
#endif
- /* if video output is dying, disassociate ourselves from it */
- if( p_vout && p_vout->b_die )
- {
- var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf );
- vlc_object_release( p_vout );
- p_vout = NULL;
- }
-
/* Main loop */
while( !p_intf->b_die )
{
-
+ /* if video output is dying, disassociate ourselves from it */
+ if( p_vout && p_vout->b_die )
+ {
+ var_DelCallback( p_vout, "mouse-clicked", MouseEvent, p_intf );
+ vlc_object_release( p_vout );
+ p_vout = NULL;
+ }
+
/* find a video output if we currently don't have one */
if( p_vout == NULL )
{
More information about the vlc-devel
mailing list