mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
Merge remote-tracking branch 'check/next-cc'
build-tested only, needs fixing
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/Makefile.am
src/driver/rcinput.cpp
src/driver/streamts.cpp
src/eitd/sectionsd.cpp
src/gui/Makefile.am
src/gui/bouquetlist.cpp
src/gui/hdd_menu.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/pluginlist.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/user_menue.cpp
src/gui/videosettings.cpp
src/gui/widget/menue.cpp
src/neutrino.cpp
src/neutrinoMessages.h
src/system/locals.h
src/system/locals_intern.h
src/zapit/include/zapit/scan.h
src/zapit/src/femanager.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/transponder.cpp
Origin commit data
------------------
Commit: 44ba8fafca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
#include <cs_api.h>
|
||||
#include <video.h>
|
||||
|
||||
#include <cnxtfb.h>
|
||||
|
||||
extern cVideo *videoDecoder;
|
||||
#ifdef ENABLE_PIP
|
||||
extern cVideo *pipDecoder;
|
||||
@@ -237,7 +239,9 @@ CMenuOptionChooser::keyval_ext VIDEOMENU_VIDEOMODE_OPTIONS[VIDEOMENU_VIDEOMODE_O
|
||||
{ VIDEO_STD_1080I60, NONEXISTANT_LOCALE, "1080i 60Hz" },
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
/* TODO: fix this crap */
|
||||
{ VIDEO_STD_1080P60, NONEXISTANT_LOCALE, "1080p 60Hz" },
|
||||
{ VIDEO_STD_1080P60, NONEXISTANT_LOCALE, "1080p 60Hz" },
|
||||
{ VIDEO_STD_1080P2397, NONEXISTANT_LOCALE, "1080p 23.97Hz"},
|
||||
{ VIDEO_STD_1080P2997, NONEXISTANT_LOCALE, "1080p 29.97Hz"},
|
||||
#endif
|
||||
{ VIDEO_STD_AUTO, NONEXISTANT_LOCALE, "Auto" }
|
||||
};
|
||||
@@ -428,6 +432,10 @@ int CVideoSettings::showVideoSetup()
|
||||
videosetup->addItem(bcont);
|
||||
videosetup->addItem(ccont);
|
||||
videosetup->addItem(scont);
|
||||
|
||||
CMenuOptionChooser * sd = new CMenuOptionChooser(LOCALE_VIDEOMENU_SDOSD, &g_settings.enable_sd_osd, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this);
|
||||
sd->setHint("", LOCALE_MENU_HINT_VIDEO_SDOSD);
|
||||
videosetup->addItem(sd);
|
||||
}
|
||||
#endif
|
||||
#ifdef ENABLE_PIP
|
||||
@@ -484,6 +492,7 @@ void CVideoSettings::setVideoSettings()
|
||||
changeNotify(LOCALE_VIDEOMENU_BRIGHTNESS, NULL);
|
||||
changeNotify(LOCALE_VIDEOMENU_CONTRAST, NULL);
|
||||
changeNotify(LOCALE_VIDEOMENU_SATURATION, NULL);
|
||||
changeNotify(LOCALE_VIDEOMENU_SDOSD, NULL);
|
||||
#endif
|
||||
#ifdef ENABLE_PIP
|
||||
pipDecoder->Pig(g_settings.pip_x, g_settings.pip_y, g_settings.pip_width, g_settings.pip_height, frameBuffer->getScreenWidth(true), frameBuffer->getScreenHeight(true));
|
||||
@@ -566,6 +575,14 @@ bool CVideoSettings::changeNotify(const neutrino_locale_t OptionName, void * /*
|
||||
{
|
||||
videoDecoder->SetControl(VIDEO_CONTROL_SATURATION, g_settings.saturation*3);
|
||||
}
|
||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_SDOSD))
|
||||
{
|
||||
int val = g_settings.enable_sd_osd;
|
||||
printf("SD OSD enable: %d\n", val);
|
||||
int fd = CFrameBuffer::getInstance()->getFileHandle();
|
||||
if (ioctl(fd, FBIO_SCALE_SD_OSD, &val))
|
||||
perror("FBIO_SCALE_SD_OSD");
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
else if (ARE_LOCALES_EQUAL(OptionName, LOCALE_VIDEOMENU_SHARPNESS))
|
||||
|
Reference in New Issue
Block a user