From 520b08fea5288426bb45d94759a3e511be290d2d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 7 Jan 2024 15:29:40 +0100 Subject: [PATCH] neutrino: move pip_rotate code Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/66265abc161f13f3c8f90e1de1ba7beeeeade2e4 Author: vanhofen 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 --- src/neutrino.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index d06219eb5..c96eb9dcf 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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)