player: remove unnecessary code

This part is already done by open_stream_async().
This commit is contained in:
wm4 2014-10-07 22:07:26 +02:00
parent 3cbd79b35b
commit ac54f10490
1 changed files with 1 additions and 3 deletions

View File

@ -987,10 +987,8 @@ static void play_current_file(struct MPContext *mpctx)
if (!opts->load_unsafe_playlists)
stream_flags |= mpctx->playing->stream_flags;
mpctx->stream = open_stream_async(mpctx, stream_filename, stream_flags);
if (!mpctx->stream) { // error...
mp_process_input(mpctx);
if (!mpctx->stream)
goto terminate_playback;
}
if (opts->stream_dump && opts->stream_dump[0]) {
stream_dump(mpctx);