summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-13 17:22:17 +0200
committerwm4 <wm4@nowhere>2019-09-13 17:33:58 +0200
commita75b249b0b116b6ddc5c430f0a9974696361ebf9 (patch)
treeb294862c47eb50afef03f1638724103f1dc2f799 /demux/demux.h
parentddcbe66768a8a29f6e6538939c57046e9efe48fc (diff)
downloadmpv-a75b249b0b116b6ddc5c430f0a9974696361ebf9.tar.bz2
mpv-a75b249b0b116b6ddc5c430f0a9974696361ebf9.tar.xz
command, demux: remove program property
The "program" property could switch between TS programs. It was rather complex and rather obscure (even if you deal with TS captures, you usually don't need it). If anyone actually needs it (did anyone ever attempt to even use it?), it should be rewritten. The demuxer should export a program list, and the frontend should handle the "cycling" logic.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 838314bd4b..3a4b7dd331 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -244,11 +244,6 @@ typedef struct demuxer {
struct stream *stream;
} demuxer_t;
-typedef struct {
- int progid; //program id
- int aid, vid, sid; //audio, video and subtitle id
-} demux_program_t;
-
void demux_free(struct demuxer *demuxer);
void demux_cancel_and_free(struct demuxer *demuxer);