Commit c4d2180d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use the open helper for streaming

parent a46006ea
...@@ -717,12 +717,9 @@ void DialogsProvider::streamingDialog( QWidget *parent, ...@@ -717,12 +717,9 @@ void DialogsProvider::streamingDialog( QWidget *parent,
} }
/* Switch between enqueuing and starting the item */ /* Switch between enqueuing and starting the item */
/* FIXME: playlist_AddInput() can fail */ Open::openInput( p_intf, p_input, mrl, true, true );
playlist_AddInput( THEPL, p_input,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END, true, pl_Unlocked );
vlc_gc_decref( p_input ); vlc_gc_decref( p_input );
RecentsMRL::getInstance( p_intf )->addRecent( mrl );
} }
} }
......
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