Skip to content

Commit

Permalink
fix: nocodec value
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Aug 3, 2023
1 parent c3fb797 commit 5879ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ fn main() {
if let Some(codec) = args.no_codec {
match codec {
Codec::Dvbsub => {
opt.demux_cfg.codec = CcxCodeType::Teletext;
opt.demux_cfg.nocodec = CcxCodeType::Teletext;
}
Codec::Teletext => {
opt.demux_cfg.codec = CcxCodeType::Dvb;
opt.demux_cfg.nocodec = CcxCodeType::Dvb;
}
}
}
Expand Down

0 comments on commit 5879ace

Please sign in to comment.