mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
use video auto modes only if they enabled in neutrino
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@728 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1025,3 +1025,9 @@ printf("CAllUsalsNotifier::changeNotify: %s\n", onoff ? "ON" : "OFF");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CAutoModeNotifier::changeNotify(const neutrino_locale_t /*OptionName*/, void * /* data */)
|
||||
{
|
||||
videoDecoder->SetAutoModes(g_settings.enabled_video_modes);
|
||||
return true;
|
||||
}
|
||||
|
@@ -324,4 +324,10 @@ public:
|
||||
bool changeNotify(const neutrino_locale_t, void * data);
|
||||
};
|
||||
|
||||
class CAutoModeNotifier : public CChangeObserver
|
||||
{
|
||||
public:
|
||||
bool changeNotify(const neutrino_locale_t, void * data);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 12
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 12 /* warning, must be same as VIDEO_STD_MAX */
|
||||
|
||||
struct SNeutrinoSettings
|
||||
{
|
||||
|
Reference in New Issue
Block a user