[vlc-commits] Qt: use pl_Unlocked in playlist_Add calls

Jean-Baptiste Kempf git at videolan.org
Sun May 18 13:13:29 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 18 12:24:05 2014 +0200| [84d9c73e85587057e5e5967a1189cd6388b3b2d9] | committer: Jean-Baptiste Kempf

Qt: use pl_Unlocked in playlist_Add calls

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

 modules/gui/qt4/dialogs_provider.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index eb31cf7..93de743 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -484,7 +484,7 @@ void DialogsProvider::openUrlDialog()
     playlist_Add( THEPL, qtu(url), NULL,
                   !oud.shouldEnqueue() ? ( PLAYLIST_APPEND | PLAYLIST_GO )
                                      : ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),
-                  PLAYLIST_END, true, false );
+                  PLAYLIST_END, true, pl_Unlocked );
     RecentsMRL::getInstance( p_intf )->addRecent( url );
 }
 
@@ -819,6 +819,6 @@ void DialogsProvider::SDMenuAction( const QString& data )
 void DialogsProvider::playMRL( const QString &mrl )
 {
     playlist_Add( THEPL, qtu(mrl), NULL,
-                  PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, false );
+                  PLAYLIST_APPEND | PLAYLIST_GO , PLAYLIST_END, true, pl_Unlocked );
     RecentsMRL::getInstance( p_intf )->addRecent( mrl );
 }



More information about the vlc-commits mailing list