mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
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).
This commit is contained in:
parent
d3479018db
commit
6fc0e7e0a0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user