stream: remove weird STREAMTYPE_STREAM special handling

This was an old leftover from an earlier cleanup (which happened in
2003), and which used "special" stuff for streams that could be only
forward-seeked.

Also, don't add mode flags to s->flags; they're supposed to be in
s->mode instead.
This commit is contained in:
wm4
2013-07-07 20:49:15 +02:00
parent dbf2a6f7d0
commit c4f83ac6e9
6 changed files with 27 additions and 50 deletions

View File

@@ -407,7 +407,7 @@ err_no_info:
s->end_pos = title_size;
s->sector_size = BLURAY_SECTOR_SIZE;
s->flags = mode | MP_STREAM_SEEK;
s->flags = MP_STREAM_SEEK;
s->priv = b;
s->type = STREAMTYPE_BLURAY;
s->url = strdup("br://");