neutrino: move pip_rotate code

Origin commit data
------------------
Commit: 66265abc16
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-07 (Sun, 07 Jan 2024)

Origin message was:
------------------
- neutrino: move pip_rotate code

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-01-07 15:29:40 +01:00
committed by Thilo Graf
parent 4b7052cc4b
commit 520b08fea5

View File

@@ -3514,9 +3514,6 @@ void CNeutrinoApp::RealRun()
StartPip(CZapit::getInstance()->GetCurrentChannelID());
}
}
else if (((msg == (neutrino_msg_t) g_settings.key_pip_rotate_cw) || (msg == (neutrino_msg_t) g_settings.key_pip_rotate_ccw)) && g_info.hw_caps->can_pip) {
(msg == (neutrino_msg_t) g_settings.key_pip_rotate_cw) ? pip_rotate(1) : pip_rotate(-1);
}
#if !HAVE_CST_HARDWARE && !HAVE_GENERIC_HARDWARE
else if ((msg == (neutrino_msg_t) g_settings.key_pip_close_avinput) && ((g_info.hw_caps->has_SCART_input) || (g_info.hw_caps->has_HDMI_input)) && g_info.hw_caps->can_pip) {
int boxmode = getBoxMode();
@@ -3546,6 +3543,9 @@ void CNeutrinoApp::RealRun()
StartPip(live_channel_id);
}
}
else if (((msg == (neutrino_msg_t) g_settings.key_pip_rotate_cw) || (msg == (neutrino_msg_t) g_settings.key_pip_rotate_ccw)) && g_info.hw_caps->can_pip) {
(msg == (neutrino_msg_t) g_settings.key_pip_rotate_cw) ? pip_rotate(1) : pip_rotate(-1);
}
#endif
else if( msg == (neutrino_msg_t) g_settings.key_record /* && (mode != NeutrinoModes::mode_webtv) */) {
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)