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


Origin commit data
------------------
Commit: 8c22be3153
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-08-19 (Thu, 19 Aug 2010)
This commit is contained in:
[CST] Focus
2010-08-19 12:47:18 +00:00
parent 6f80376052
commit b1116120fe
8 changed files with 24 additions and 7 deletions

View File

@@ -90,7 +90,8 @@ typedef enum {
VIDEO_STD_1080P30,
VIDEO_STD_1080P24,
VIDEO_STD_1080P25,
VIDEO_STD_AUTO
VIDEO_STD_AUTO,
VIDEO_STD_MAX = VIDEO_STD_AUTO
} VIDEO_STD;
typedef enum {
@@ -199,7 +200,7 @@ class cVideo
void StopPicture();
void Standby(unsigned int bOn);
void Pig(int x, int y, int w, int h, int osd_w = 1064, int osd_h = 600);
void setContrast(int val);
void SetContrast(int val);
bool ReceivedDRMDelay(void) { return receivedDRMDelay; }
bool ReceivedVideoDelay(void) { return receivedVideoDelay; }
void SetReceivedDRMDelay(bool Received) { receivedDRMDelay = Received; }
@@ -209,6 +210,7 @@ class cVideo
void SetWideScreen(bool onoff);
void SetVideoMode(analog_mode_t mode);
void SetDBDR(int dbdr);
void SetAutoModes(int modes[VIDEO_STD_MAX]);
};
#endif