mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
spark: cVideo::SetVideoMode ignore irrelevant modes
This commit is contained in:
@@ -291,6 +291,11 @@ int cVideo::getPlayState(void)
|
|||||||
void cVideo::SetVideoMode(analog_mode_t mode)
|
void cVideo::SetVideoMode(analog_mode_t mode)
|
||||||
{
|
{
|
||||||
lt_debug("%s(%d)\n", __func__, mode);
|
lt_debug("%s(%d)\n", __func__, mode);
|
||||||
|
if (!(mode & ANALOG_SCART_MASK))
|
||||||
|
{
|
||||||
|
lt_debug("%s: non-SCART mode ignored\n", __func__);
|
||||||
|
return;
|
||||||
|
}
|
||||||
const char *m;
|
const char *m;
|
||||||
switch(mode)
|
switch(mode)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user