From 12d74e4d955edd1c6c02df34be08a1020c20abee Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 1 Oct 2019 23:54:54 +0200 Subject: 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. --- player/command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player') diff --git a/player/command.c b/player/command.c index e0af394473..6e1fc94e8a 100644 --- a/player/command.c +++ b/player/command.c @@ -3530,6 +3530,7 @@ static const struct m_property mp_properties_base[] = { {"edition-list", property_list_editions}, {"dvbin-prog", mp_property_dvb_channel}, + {"dvbin-channel-switch-offset", mp_property_dvb_channel}, {"playlist", mp_property_playlist}, {"playlist-pos", mp_property_playlist_pos}, -- cgit v1.2.3