diff options
author | wm4 <wm4@nowhere> | 2014-07-14 14:33:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-14 14:34:14 +0200 |
commit | 4b93210e0c244a65ef10a566abed2ad25ecaf9a1 (patch) | |
tree | 6ff381d5cfd95f7b89c9253f07faa75883983dcc /player/configfiles.c | |
parent | c129e3f666a4d3f562f32e633293cf9bbb13c3ac (diff) | |
download | mpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.bz2 mpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.xz |
Remove DVD and Bluray support
It never worked well. Just remux your DVD and BD images to mkv.
Diffstat (limited to 'player/configfiles.c')
-rw-r--r-- | player/configfiles.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/player/configfiles.c b/player/configfiles.c index d1c79c9c9d..b05184c5fb 100644 --- a/player/configfiles.c +++ b/player/configfiles.c @@ -173,7 +173,6 @@ void mp_load_auto_profiles(struct MPContext *mpctx) static char *mp_get_playback_resume_config_filename(struct mpv_global *global, const char *fname) { - struct MPOpts *opts = global->opts; char *res = NULL; void *tmp = talloc_new(NULL); const char *realpath = fname; @@ -184,11 +183,6 @@ static char *mp_get_playback_resume_config_filename(struct mpv_global *global, goto exit; realpath = mp_path_join(tmp, bstr0(cwd), bstr0(fname)); } - if (bstr_startswith0(bfname, "dvd://")) - realpath = talloc_asprintf(tmp, "%s - %s", realpath, opts->dvd_device); - if (bstr_startswith0(bfname, "br://") || bstr_startswith0(bfname, "bd://") || - bstr_startswith0(bfname, "bluray://")) - realpath = talloc_asprintf(tmp, "%s - %s", realpath, opts->bluray_device); uint8_t md5[16]; av_md5_sum(md5, realpath, strlen(realpath)); char *conf = talloc_strdup(tmp, ""); |