[vlc-devel] commit: mediadirs: change recursive option for reading directories ( Erwan Tulou )

git version control git at videolan.org
Sun Aug 30 19:59:41 CEST 2009


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Aug 30 19:34:37 2009 +0200| [d4e0038246f4738be9461c90814133e79c5e5511] | committer: Erwan Tulou 

mediadirs: change recursive option for reading directories

recursive=expand can be too time-consuming (preventing users from exiting vlc)

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

 modules/services_discovery/mediadirs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/services_discovery/mediadirs.c b/modules/services_discovery/mediadirs.c
index 4da0e3d..89a9c85 100644
--- a/modules/services_discovery/mediadirs.c
+++ b/modules/services_discovery/mediadirs.c
@@ -199,7 +199,7 @@ static void *Run( void *data )
             input_item_AddOption( p_root, "ignore-filetypes=ini,db,lnk,txt",
                                   VLC_INPUT_OPTION_TRUSTED );
 
-        input_item_AddOption( p_root, "recursive=expand",
+        input_item_AddOption( p_root, "recursive=collapse",
                               VLC_INPUT_OPTION_TRUSTED );
 
 




More information about the vlc-devel mailing list