mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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)
|
||||
{
|
||||
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;
|
||||
switch(mode)
|
||||
{
|
||||
|
Reference in New Issue
Block a user