From 6fc0e7e0a0c63c6f8dd397e668bf2cd57b1f4beb Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2019 15:31:09 +0100 Subject: 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). --- stream/stream_bluray.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'stream/stream_bluray.c') 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; } -- cgit v1.2.3