From 5c1a688bf833547ff311dff84ec0480b491a7f1d Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 12 Oct 2024 13:33:11 +0200 Subject: [PATCH] h264: fix mixed-up option definitions --- nihav-itu/src/codecs/h264/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nihav-itu/src/codecs/h264/mod.rs b/nihav-itu/src/codecs/h264/mod.rs index a867b6e..fffe710 100644 --- a/nihav-itu/src/codecs/h264/mod.rs +++ b/nihav-itu/src/codecs/h264/mod.rs @@ -194,10 +194,10 @@ const DEBLOCK_SKIP_OPTION: &str = "skip_deblock"; const DECODER_OPTIONS: &[NAOptionDefinition] = &[ NAOptionDefinition { - name: FRAME_SKIP_OPTION, description: FRAME_SKIP_OPTION_DESC, + name: DEBLOCK_SKIP_OPTION, description: "Loop filter skipping mode", opt_type: NAOptionDefinitionType::Bool }, NAOptionDefinition { - name: DEBLOCK_SKIP_OPTION, description: "Loop filter skipping mode", + name: FRAME_SKIP_OPTION, description: FRAME_SKIP_OPTION_DESC, opt_type: NAOptionDefinitionType::String(Some(&[ FRAME_SKIP_OPTION_VAL_NONE, FRAME_SKIP_OPTION_VAL_KEYFRAME, -- 2.39.5