diff options
author | wm4 <wm4@nowhere> | 2014-07-05 16:57:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-05 17:07:15 +0200 |
commit | 338004bcfc224727d1477d303aa1521bf3ac21be (patch) | |
tree | 5066a689bb13f4c00a360d9b33a485d81eb17d72 /stream/stream.c | |
parent | 4d2a4afdef24c343b98e71dddcb3382e85c09c96 (diff) | |
download | mpv-338004bcfc224727d1477d303aa1521bf3ac21be.tar.bz2 mpv-338004bcfc224727d1477d303aa1521bf3ac21be.tar.xz |
dvd, bluray, cdda: add demux_disc containing all related hacks
DVD and Bluray (and to some extent cdda) require awful hacks all over
the codebase to make them work. The main reason is that they act like
container, but are entirely implemented on the stream layer. The raw
mpeg data resulting from these streams must be "extended" with the
container-like metadata transported via STREAM_CTRLs. The result were
hacks all over demux.c and some higher-level parts.
Add a "disc" pseudo-demuxer, and move all these hacks and special-cases
to it.
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stream/stream.c b/stream/stream.c index 31d15fbf97..d2ab3d640a 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -968,11 +968,6 @@ struct bstr stream_read_complete(struct stream *s, void *talloc_ctx, return (struct bstr){buf, total_read}; } -bool stream_manages_timeline(struct stream *s) -{ - return stream_control(s, STREAM_CTRL_MANAGES_TIMELINE, NULL) == STREAM_OK; -} - void stream_print_proto_list(struct mp_log *log) { int count = 0; |