mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
stream: don't require streams to set a type
Set the type only for streams that have special treatment in other parts of the code.
This commit is contained in:
@@ -409,7 +409,6 @@ err_no_info:
|
||||
s->sector_size = BLURAY_SECTOR_SIZE;
|
||||
s->flags = MP_STREAM_SEEK;
|
||||
s->priv = b;
|
||||
s->type = STREAMTYPE_BLURAY;
|
||||
s->url = strdup("br://");
|
||||
|
||||
mp_tmsg(MSGT_OPEN, MSGL_V, "Blu-ray successfully opened.\n");
|
||||
|
||||
Reference in New Issue
Block a user