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;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "AudioPassthrough")) {
|
if (!strcasecmp(name, "AudioPassthrough")) {
|
||||||
int i;
|
int ii;
|
||||||
|
|
||||||
i = atoi(value);
|
ii = atoi(value);
|
||||||
AudioPassthroughState = i > 0;
|
AudioPassthroughState = ii > 0;
|
||||||
ConfigAudioPassthrough = abs(i);
|
ConfigAudioPassthrough = abs(ii);
|
||||||
if (AudioPassthroughState) {
|
if (AudioPassthroughState) {
|
||||||
CodecSetAudioPassthrough(ConfigAudioPassthrough);
|
CodecSetAudioPassthrough(ConfigAudioPassthrough);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user