[vlc-devel] commit: Don't mix 2 implementation approaches ( Felix Paul Kühne )

git version control git at videolan.org
Wed May 7 21:49:46 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed May  7 21:50:24 2008 +0200| [e6e564bd147222187e1a79315fef9973b54e10ac]

Don't mix 2 implementation approaches

Introduced in the previous commit, pointed by Pierre. Thanks!

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

 modules/gui/ncurses.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 4cad925..f64b0c0 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -589,19 +589,16 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 var_Get( p_playlist, "random", &val );
                 val.b_bool = !val.b_bool;
                 var_Set( p_playlist, "random", val );
-                vlc_object_release( p_playlist );
                 ReturnTrue;
             case 'l':
                 var_Get( p_playlist, "loop", &val );
                 val.b_bool = !val.b_bool;
                 var_Set( p_playlist, "loop", val );
-                vlc_object_release( p_playlist );
                 ReturnTrue;
             case 'R':
                 var_Get( p_playlist, "repeat", &val );
                 val.b_bool = !val.b_bool;
                 var_Set( p_playlist, "repeat", val );
-                vlc_object_release( p_playlist );
                 ReturnTrue;
 
             /* Playlist sort */




More information about the vlc-devel mailing list