Skip to content

Commit a84256d

Browse files
authored
fix: debugdvb arg typo (#1673)
1 parent 9e2a594 commit a84256d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rust/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub struct Args {
162162
pub pesheader: bool,
163163
/// Write the DVB subtitle debug traces to console.
164164
#[arg(long, help_heading=FILE_NAME_RELATED_OPTIONS)]
165-
pub debugdvdsub: bool,
165+
pub debugdvbsub: bool,
166166
/// Ignore PTS jumps (default).
167167
#[arg(long, help_heading=FILE_NAME_RELATED_OPTIONS)]
168168
pub ignoreptsjumps: bool,

src/rust/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ impl OptionsExt for Options {
10241024
self.pes_header_to_stdout = true;
10251025
}
10261026

1027-
if args.debugdvdsub {
1027+
if args.debugdvbsub {
10281028
self.debug_mask =
10291029
DebugMessageMask::new(DebugMessageFlag::DVB, DebugMessageFlag::VERBOSE);
10301030
}

0 commit comments

Comments
 (0)