diff options
author | wm4 <wm4@nowhere> | 2018-09-07 21:41:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | f77515ebafb9fdfd177671b848211824e654206f (patch) | |
tree | 8bbc1adc712b6edb7d81e5b0d7f19a1e293e257b /stream/stream_libarchive.c | |
parent | 0fa38121a6ce6baed277b17a1ca1e28f5978343f (diff) | |
download | mpv-f77515ebafb9fdfd177671b848211824e654206f.tar.bz2 mpv-f77515ebafb9fdfd177671b848211824e654206f.tar.xz |
stream_libarchive: remove base filename stuff
Apparently this was so that when playing a video file from a .rar file,
it would load external subtitles with the same name (instead of looking
for mpv's rar:// mangled URL). This was requested on github almost 5
years ago. Seems like a weird feature, and I don't care. Drop it,
because it complicates some in progress change.
Diffstat (limited to 'stream/stream_libarchive.c')
-rw-r--r-- | stream/stream_libarchive.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/stream/stream_libarchive.c b/stream/stream_libarchive.c index 54ebc64b98..bc1fb94d12 100644 --- a/stream/stream_libarchive.c +++ b/stream/stream_libarchive.c @@ -472,9 +472,6 @@ static int archive_entry_control(stream_t *s, int cmd, void *arg) { struct priv *p = s->priv; switch (cmd) { - case STREAM_CTRL_GET_BASE_FILENAME: - *(char **)arg = talloc_strdup(NULL, p->src->url); - return STREAM_OK; case STREAM_CTRL_GET_SIZE: if (p->entry_size < 0) break; |