]> git.sesse.net Git - vlc/commitdiff
Fix #1761: open directory plays.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Jul 2008 04:38:06 +0000 (21:38 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Jul 2008 04:38:06 +0000 (21:38 -0700)
This needs double-check.

modules/gui/qt4/dialogs_provider.cpp

index 98d11ab919ff4a0f0c89d14f290d8e548f98dab2..758ebec6ad212421743a869f129b9daca5101fd2 100644 (file)
@@ -356,14 +356,15 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
         playlist_AddInput( THEPL, p_input,
                        go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
                        PLAYLIST_END, pl, pl_Unlocked );
-        input_Read( THEPL, p_input, false );
+        /* Why this ?
+         * input_Read( THEPL, p_input, false ); */
         vlc_gc_decref( p_input );
     }
 }
 
 void DialogsProvider::PLAppendDir()
 {
-    openDirectory( p_intf, true, false );
+    openDirectory( p_intf, true, true );
 }
 
 void DialogsProvider::MLAppendDir()