diff options
author | wm4 <wm4@nowhere> | 2014-06-09 23:38:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-11 00:34:41 +0200 |
commit | e033f3c8bcf66de44b0cc25e543a85f19fc9f964 (patch) | |
tree | 08cfecb3736fd7b6cc0803a4f28cc8c42651b53f /player/main.c | |
parent | 9420eb5a073da434c31f5123dff93c22e5ba32fa (diff) | |
download | mpv-e033f3c8bcf66de44b0cc25e543a85f19fc9f964.tar.bz2 mpv-e033f3c8bcf66de44b0cc25e543a85f19fc9f964.tar.xz |
command: redo ancient TV/DVB/PVR commands
Convert all these commands to properties. (Except tv_last_channel, not
sure what to do with this.) Also, internally, don't access stream
details directly, but dispatch commands with stream ctrls.
Many of the new properties are a bit strange, because they're write-
only. Also remove some OSD output these commands produced, because I
couldn't be bothered to port these.
In general, this makes everything much cleaner, and will also make it
easier to e.g. move the demuxer to its own thread.
Don't bother updating input.conf, but changes.rst documents how old
commands map to the new ones.
Mostly untested, due to lack of hardware.
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c index d7b34e0ef8..19c24c036b 100644 --- a/player/main.c +++ b/player/main.c @@ -303,7 +303,6 @@ struct MPContext *mp_create(void) struct MPContext *mpctx = talloc(NULL, MPContext); *mpctx = (struct MPContext){ - .last_dvb_step = 1, .last_chapter = -2, .term_osd_contents = talloc_strdup(mpctx, ""), .osd_progbar = { .type = -1 }, |