[vlc-devel] commit: Remove VLC_DIR_ACTIVITY, as it is not used. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jun 14 17:54:53 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 17:38:34 2008 +0200| [5faadbd6cd9bcb3c72c38ad51b48bc117a60c094]

Remove VLC_DIR_ACTIVITY, as it is not used.

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

 include/vlc_config.h       |    1 -
 modules/access/directory.c |    8 --------
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/include/vlc_config.h b/include/vlc_config.h
index 30f05e3..316179a 100644
--- a/include/vlc_config.h
+++ b/include/vlc_config.h
@@ -56,7 +56,6 @@
  *****************************************************************************/
 
 #define DEFAULT_INPUT_ACTIVITY 1
-#define DIRECTORY_ACTIVITY 100
 #define TRANSCODE_ACTIVITY 10
 
 /* Used in ErrorThread */
diff --git a/modules/access/directory.c b/modules/access/directory.c
index 9f351c4..ab79715 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -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,
                                               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,
              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 );
 
     free( psz_name );




More information about the vlc-devel mailing list