mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Fix mute when switching channel
This commit is contained in:
parent
8c89787269
commit
b2247ebb9b
@ -63,7 +63,7 @@ extern void ToggleLUT();
|
|||||||
/// vdr-plugin version number.
|
/// vdr-plugin version number.
|
||||||
/// Makefile extracts the version number for generating the file name
|
/// Makefile extracts the version number for generating the file name
|
||||||
/// for the distribution archive.
|
/// for the distribution archive.
|
||||||
static const char *const VERSION = "3.4.2"
|
static const char *const VERSION = "3.4.3"
|
||||||
#ifdef GIT_REV
|
#ifdef GIT_REV
|
||||||
"-GIT" GIT_REV
|
"-GIT" GIT_REV
|
||||||
#endif
|
#endif
|
||||||
@ -2645,7 +2645,8 @@ bool cSoftHdDevice::SetPlayMode(ePlayMode play_mode)
|
|||||||
Resume();
|
Resume();
|
||||||
SuspendMode = NOT_SUSPENDED;
|
SuspendMode = NOT_SUSPENDED;
|
||||||
}
|
}
|
||||||
SetVolume(cDevice::CurrentVolume(), true);
|
if (!cDevice::IsMute())
|
||||||
|
SetVolume(cDevice::CurrentVolume(), true);
|
||||||
return::SetPlayMode(play_mode);
|
return::SetPlayMode(play_mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user