diff --git a/src/rust/src/args.rs b/src/rust/src/args.rs index 92a656202..dbc9cb1ec 100644 --- a/src/rust/src/args.rs +++ b/src/rust/src/args.rs @@ -162,7 +162,7 @@ pub struct Args { pub pesheader: bool, /// Write the DVB subtitle debug traces to console. #[arg(long, help_heading=FILE_NAME_RELATED_OPTIONS)] - pub debugdvdsub: bool, + pub debugdvbsub: bool, /// Ignore PTS jumps (default). #[arg(long, help_heading=FILE_NAME_RELATED_OPTIONS)] pub ignoreptsjumps: bool, diff --git a/src/rust/src/parser.rs b/src/rust/src/parser.rs index d3833fbaa..4a36db300 100644 --- a/src/rust/src/parser.rs +++ b/src/rust/src/parser.rs @@ -1024,7 +1024,7 @@ impl OptionsExt for Options { self.pes_header_to_stdout = true; } - if args.debugdvdsub { + if args.debugdvbsub { self.debug_mask = DebugMessageMask::new(DebugMessageFlag::DVB, DebugMessageFlag::VERBOSE); }