mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -201,10 +201,6 @@ typedef struct {
|
||||
|
||||
int tv_set_color_options(tvi_handle_t *tvh, int opt, int val);
|
||||
int tv_get_color_options(tvi_handle_t *tvh, int opt, int* val);
|
||||
#define TV_COLOR_BRIGHTNESS 1
|
||||
#define TV_COLOR_HUE 2
|
||||
#define TV_COLOR_SATURATION 3
|
||||
#define TV_COLOR_CONTRAST 4
|
||||
|
||||
int tv_step_channel_real(tvi_handle_t *tvh, int direction);
|
||||
int tv_step_channel(tvi_handle_t *tvh, int direction);
|
||||
|
||||
Reference in New Issue
Block a user