Commit 4fac715a authored by Cyril Deguet's avatar Cyril Deguet
Browse files

* src/playlist/sort.c: set "intf-change" after sorting the playlist

parent d3de6466
......@@ -2,7 +2,7 @@
* sort.c : Playlist sorting functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: sort.c,v 1.2 2003/11/26 10:45:21 zorglub Exp $
* $Id: sort.c,v 1.3 2003/12/13 17:46:07 asmax Exp $
*
* Authors: Clment Stenac <zorglub@videolan.org>
*
......@@ -41,6 +41,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
{
int i , i_small , i_position;
playlist_item_t *p_temp;
vlc_value_t val;
val.b_bool = VLC_TRUE;
vlc_mutex_lock( &p_playlist->object_lock );
......@@ -62,6 +64,9 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
vlc_mutex_unlock( &p_playlist->object_lock );
/* Notify the interfaces (XXX: use a different variable) */
var_Set( p_playlist, "intf-change", val );
return 0;
}
......@@ -106,5 +111,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_mode, int i_type )
}
vlc_mutex_unlock( &p_playlist->object_lock );
/* Notify the interfaces (XXX: use a different variable) */
var_Set( p_playlist, "intf-change", val );
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment