summaryrefslogtreecommitdiffstats
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2019-10-01 23:54:54 +0200
committerOliver Freyermuth <o.freyermuth@googlemail.com>2019-10-02 01:25:45 +0200
commit12d74e4d955edd1c6c02df34be08a1020c20abee (patch)
treec8ec7a8f51cece1f8982f56accfeed579c8684f3 /stream/dvbin.h
parentc408a48119cecca71db0d06aff4aca7b4d9e84d7 (diff)
downloadmpv-12d74e4d955edd1c6c02df34be08a1020c20abee.tar.bz2
mpv-12d74e4d955edd1c6c02df34be08a1020c20abee.tar.xz
stream_dvb: Allow actual zapping of channels again.
This is realized by dvbin-channel-switch-offset, which is a numeric offset on the channel initially tuned to. Since the channel list is kept in the stream alone depending on detected hardware and chosen card, and no available backchannel to the player, there's no direct property which could be switched. Using input.conf like: H cycle dvbin-channel-switch-offset up K cycle dvbin-channel-switch-offset down Q set dvbin-prog "ZDF HD" allow fast and reliable channel switching again.
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r--stream/dvbin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index 60b4070f04..eaeb68190d 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -121,6 +121,7 @@ typedef struct {
int cfg_timeout;
char *cfg_file;
int cfg_full_transponder;
+ int cfg_channel_switch_offset;
} dvb_opts_t;
typedef struct {