summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-07-03 15:48:44 +0200
committerJohns <johns98@gmx.net>2012-07-03 15:48:44 +0200
commite6ce7832bac42cd35119bfd06343fb4042c96939 (patch)
treef719eb08431c724013eead4b2a2a23a05b27fe36 /softhddev.c
parent696bb8e934bc8bd9c73df4f954d74e926dbeeadb (diff)
downloadvdr-plugin-softhddevice-e6ce7832bac42cd35119bfd06343fb4042c96939.tar.gz
vdr-plugin-softhddevice-e6ce7832bac42cd35119bfd06343fb4042c96939.tar.bz2
Add commandline support to disable hardware decoder.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c
index 849835e..7860198 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2352,7 +2352,9 @@ int ProcessArgs(int argc, char *const argv[])
continue;
case 'w': // workarounds
if (!strcasecmp("no-hw-decoder", optarg)) {
+ VideoHardwareDecoder = 0;
} else if (!strcasecmp("no-mpeg-hw-decoder", optarg)) {
+ VideoHardwareDecoder = 1;
} else if (!strcasecmp("alsa-driver-broken", optarg)) {
AudioAlsaDriverBroken = 1;
} else if (!strcasecmp("ignore-repeat-pict", optarg)) {