From 3c0e662a0f2402137f4236d4b870a084013990c3 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 31 Jul 2024 18:32:37 +0200 Subject: [PATCH] sga: fix option name --- nihav-game/src/demuxers/sga.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.5