summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-07 15:31:09 +0100
committerwm4 <wm4@nowhere>2019-11-07 22:53:13 +0100
commit6fc0e7e0a0c63c6f8dd397e668bf2cd57b1f4beb (patch)
treee9a57201359c871a22e89e0c7b2a6e01c04a6f17 /stream
parentd3479018db4c8d61b2dca497a547615f02c2a42d (diff)
downloadmpv-6fc0e7e0a0c63c6f8dd397e668bf2cd57b1f4beb.tar.bz2
mpv-6fc0e7e0a0c63c6f8dd397e668bf2cd57b1f4beb.tar.xz
stream_bluray: remove size getter
This isn't really needed, since it doesn't support byte seeking (only for avoiding that demux_disc fucks up even more if the nested demux_lavf tries to seek in the TS).
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_bluray.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c
index 6e7663d638..1d57730539 100644
--- a/stream/stream_bluray.c
+++ b/stream/stream_bluray.c
@@ -283,9 +283,6 @@ static int bluray_stream_control(stream_t *s, int cmd, void *arg)
*(char**)arg = talloc_strdup(NULL, meta->di_name);
return STREAM_OK;
}
- case STREAM_CTRL_GET_SIZE:
- *(int64_t *)arg = bd_get_title_size(b->bd);
- return STREAM_OK;
default:
break;
}