[vlc-devel] commit: ncurses: Properly update on item-change variable callback. ( Pierre d'Herbemont )
Pierre d'Herbemont
pdherbemont at free.fr
Sat Jun 14 16:38:05 CEST 2008
Is that ok? Could it slow everything down?
On Jun 14, 2008, at 4:12 PM, git version control wrote:
> vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org>
> | Sat Jun 14 16:11:42 2008 +0200|
> [86c84715d3aff267e7a9c80854ec5394bdd8cfc5]
>
> ncurses: Properly update on item-change variable callback.
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86c84715d3aff267e7a9c80854ec5394bdd8cfc5
> ---
>
> modules/gui/ncurses.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
> index 9a5cab8..cba2405 100644
> --- a/modules/gui/ncurses.c
> +++ b/modules/gui/ncurses.c
> @@ -399,6 +399,7 @@ static void Run( intf_thread_t *p_intf )
> PlaylistRebuild( p_intf );
> var_AddCallback( p_playlist, "intf-change", PlaylistChanged,
> p_intf );
> var_AddCallback( p_playlist, "item-append", PlaylistChanged,
> p_intf );
> + var_AddCallback( p_playlist, "item-change", PlaylistChanged,
> p_intf );
>
> while( !intf_ShouldDie( p_intf ) )
> {
> @@ -460,6 +461,7 @@ static void Run( intf_thread_t *p_intf )
> }
> var_DelCallback( p_playlist, "intf-change", PlaylistChanged,
> p_intf );
> var_DelCallback( p_playlist, "item-append", PlaylistChanged,
> p_intf );
> + var_DelCallback( p_playlist, "item-change", PlaylistChanged,
> p_intf );
> }
>
> /* following functions are local */
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list