From: Kostya Shishkov Date: Wed, 31 Jul 2024 16:32:37 +0000 (+0200) Subject: sga: fix option name X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=3c0e662a0f2402137f4236d4b870a084013990c3;p=nihav.git sga: fix option name --- diff --git a/nihav-game/src/demuxers/sga.rs b/nihav-game/src/demuxers/sga.rs index b5d7f7b..de37b72 100644 --- a/nihav-game/src/demuxers/sga.rs +++ b/nihav-game/src/demuxers/sga.rs @@ -341,7 +341,7 @@ impl<'a> NAOptionHandler for SGADemuxer<'a> { for option in options.iter() { for opt_def in DEMUXER_OPTS.iter() { if opt_def.check(option).is_ok() { - if let ("name", NAValue::Bool(ref bval)) = (option.name, &option.value) { + if let ("ntsc", NAValue::Bool(ref bval)) = (option.name, &option.value) { self.ntsc = *bval; } }