[vlc-devel] [PATCH] QT4: fix crash on Open Directory
Pavlov Konstantin
thresh at altlinux.ru
Tue Jul 3 12:27:39 CEST 2007
Hello.
The attached patch fixes (badly, in fact) VLC crash when opening a
somewhat large directory with subdirs.
It seems the problem lays in playlist starting playing when there's
nothing in it?
--
-------------- next part --------------
Index: modules/gui/qt4/dialogs_provider.cpp
===================================================================
--- modules/gui/qt4/dialogs_provider.cpp (revision 20729)
+++ modules/gui/qt4/dialogs_provider.cpp (working copy)
@@ -306,8 +306,7 @@
0, NULL, -1 );
playlist_AddInput( THEPL, p_input,
- go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
- PLAYLIST_END, pl, VLC_FALSE );
+ PLAYLIST_APPEND, PLAYLIST_END, pl, VLC_FALSE );
input_Read( THEPL, p_input, VLC_FALSE );
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070703/65c6b5bf/attachment.sig>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list