stream: get rid of streamtype enum

Because it's kind of dumb. (But not sure if it was worth the trouble.)

For stream_file.c, we add new explicit fields. The rest are rather
special uses and can be killed by comparing the stream impl. name.

The changes to DVD/BD/CD/TV are entirely untested.
This commit is contained in:
wm4
2017-02-02 18:24:27 +01:00
parent e13a62fc34
commit fb9a32977d
19 changed files with 47 additions and 50 deletions

View File

@@ -383,7 +383,6 @@ static int open_cdda(stream_t *st)
st->streaming = true;
st->type = STREAMTYPE_CDDA;
st->demuxer = "+disc";
print_cdtext(st, 0);