Commit 1744655d authored by Jean-Philippe Andre's avatar Jean-Philippe Andre Committed by Jean-Baptiste Kempf

Qt: bugfix: playlist's add directory function was failing on input_Read (assert failed)

(cherry picked from commit afd60281)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 82548564
...@@ -430,7 +430,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go ) ...@@ -430,7 +430,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND, go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
PLAYLIST_END, pl, pl_Unlocked ); PLAYLIST_END, pl, pl_Unlocked );
if( !go ) if( !go )
input_Read( THEPL, p_input, false ); input_Read( THEPL, p_input, true );
vlc_gc_decref( p_input ); vlc_gc_decref( p_input );
} }
} }
......
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