Commit 5faadbd6 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Remove VLC_DIR_ACTIVITY, as it is not used.

parent a0e351f5
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
*****************************************************************************/ *****************************************************************************/
#define DEFAULT_INPUT_ACTIVITY 1 #define DEFAULT_INPUT_ACTIVITY 1
#define DIRECTORY_ACTIVITY 100
#define TRANSCODE_ACTIVITY 10 #define TRANSCODE_ACTIVITY 10
/* Used in ErrorThread */ /* Used in ErrorThread */
......
...@@ -256,17 +256,9 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len) ...@@ -256,17 +256,9 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
p_item_in_category = playlist_ItemToNode( p_playlist, p_current, p_item_in_category = playlist_ItemToNode( p_playlist, p_current,
false ); false );
i_activity = var_GetInteger( p_playlist, "activity" );
var_SetInteger( p_playlist, "activity", i_activity +
DIRECTORY_ACTIVITY );
ReadDir( p_playlist, psz_name, i_mode, p_current, p_item_in_category, ReadDir( p_playlist, psz_name, i_mode, p_current, p_item_in_category,
p_current_input, (DIR *)p_access->p_sys, NULL ); p_current_input, (DIR *)p_access->p_sys, NULL );
i_activity = var_GetInteger( p_playlist, "activity" );
var_SetInteger( p_playlist, "activity", i_activity -
DIRECTORY_ACTIVITY );
playlist_Signal( p_playlist ); playlist_Signal( p_playlist );
free( psz_name ); free( psz_name );
......
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