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:
parent
b1a642e64a
commit
3d23288bdc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user