mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 01:13:36 +02:00
videosettings: simplify code for different platforms
make the videomode selection code more dynamic, the future
goal is to get rid of the #ifdefs and select available modes
at runtime
Origin commit data
------------------
Branch: ni/coolstream
Commit: 684e9ce0f4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -44,21 +44,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#if HAVE_COOL_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 12
|
||||
#endif
|
||||
#if HAVE_TRIPLEDRAGON
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 3
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 9
|
||||
#endif
|
||||
#if HAVE_AZBOX_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 9
|
||||
#endif
|
||||
#ifndef VIDEOMENU_VIDEOMODE_OPTION_COUNT
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 1
|
||||
#endif
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 13
|
||||
|
||||
struct SNeutrinoSettings
|
||||
{
|
||||
|
Reference in New Issue
Block a user