diff options
author | wm4 <wm4@nowhere> | 2014-09-09 00:38:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-09 01:23:10 +0200 |
commit | 9cb1e2c58ca21f12b65167eb8a3640bda8eadfd5 (patch) | |
tree | 7aa0769e3b0313b7ea903b6271c5f3f2e4e6cf95 /player | |
parent | 76f9eede349b57fdffd2f09cb45f9f58b225711b (diff) | |
download | mpv-9cb1e2c58ca21f12b65167eb8a3640bda8eadfd5.tar.bz2 mpv-9cb1e2c58ca21f12b65167eb8a3640bda8eadfd5.tar.xz |
player: normalize playlist entries on add
This is not necessarily more correct, but it's less trouble.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index 9c6aabdd4e..d81bfa7bc8 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1030,10 +1030,6 @@ static void play_current_file(struct MPContext *mpctx) if (!mpctx->filename) goto terminate_playback; - char *local_filename = mp_file_url_to_filename(tmp, bstr0(mpctx->filename)); - if (local_filename) - mpctx->filename = local_filename; - mpctx->add_osd_seek_info &= OSD_SEEK_INFO_EDITION; if (opts->reset_options) { |