[vlc-commits] Qt: use the open helper for streaming

Jean-Baptiste Kempf git at videolan.org
Sun May 18 17:01:21 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 18 17:00:41 2014 +0200| [c4d2180d813e2f3dd4d693ff2676d80f02e92e61] | committer: Jean-Baptiste Kempf

Qt: use the open helper for streaming

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

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

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 1d34046..89620c0 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -717,12 +717,9 @@ void DialogsProvider::streamingDialog( QWidget *parent,
         }
 
         /* Switch between enqueuing and starting the item */
-        /* FIXME: playlist_AddInput() can fail */
-        playlist_AddInput( THEPL, p_input,
-                PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END, true, pl_Unlocked );
+        Open::openInput( p_intf, p_input, mrl, true, true );
         vlc_gc_decref( p_input );
 
-        RecentsMRL::getInstance( p_intf )->addRecent( mrl );
     }
 }
 



More information about the vlc-commits mailing list