mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
pzapit: hack for HD51 mix-up letterbox<->panscan
videosettings.cpp: improved debug output for mode_43
This commit is contained in:
@@ -629,7 +629,13 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void * /*
|
||||
|
||||
void CVideoSettings::next43Mode(void)
|
||||
{
|
||||
printf("[neutrino VideoSettings] %s setting 43Mode...\n", __FUNCTION__);
|
||||
printf("[neutrino VideoSettings] %s setting 43Mode -> ", __FUNCTION__);
|
||||
#if HAVE_ARM_HARDWARE
|
||||
/* HD51 has non standard order */
|
||||
static const char *m[] = { "letterbox", "panscan", "bestfit", "nonlinear", "(unset)" };
|
||||
#else
|
||||
static const char *m[] = { "panscan", "letterbox", "bestfit", "nonlinear", "(unset)" };
|
||||
#endif
|
||||
neutrino_locale_t text;
|
||||
unsigned int curmode = 0;
|
||||
|
||||
@@ -646,6 +652,7 @@ void CVideoSettings::next43Mode(void)
|
||||
text = videomenu_43mode_options[curmode].value;
|
||||
g_settings.video_43mode = videomenu_43mode_options[curmode].key;
|
||||
g_Zapit->setMode43(g_settings.video_43mode);
|
||||
printf("%s\n", m[g_settings.video_43mode]);
|
||||
#ifdef ENABLE_PIP
|
||||
pipDecoder->setAspectRatio(-1, g_settings.video_43mode);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user