1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Fixed issue #32

This commit is contained in:
jojo61 2020-03-02 16:11:33 +01:00
parent b1a642e64a
commit 3d23288bdc

View File

@ -3459,11 +3459,11 @@ bool cPluginSoftHdDevice::SetupParse(const char *name, const char *value)
return true;
}
if (!strcasecmp(name, "AudioPassthrough")) {
int i;
int ii;
i = atoi(value);
AudioPassthroughState = i > 0;
ConfigAudioPassthrough = abs(i);
ii = atoi(value);
AudioPassthroughState = ii > 0;
ConfigAudioPassthrough = abs(ii);
if (AudioPassthroughState) {
CodecSetAudioPassthrough(ConfigAudioPassthrough);
} else {