Skip to content

Commit

Permalink
Merge pull request zmwangx#161 from redzic/fix-x264
Browse files Browse the repository at this point in the history
Fix transcode-x264 example
  • Loading branch information
kornelski authored Jan 17, 2023
2 parents 4378d48 + d0f9f25 commit b551544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/transcode-x264.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ fn main() {
)
.unwrap(),
);
}
else {
} else {
// Set up for stream copy for non-video stream.
let mut ost = octx.add_stream(encoder::find(codec::Id::None)).unwrap();
ost.set_parameters(ist.parameters());
Expand Down

0 comments on commit b551544

Please sign in to comment.