Merge pull request #161 from redzic/fix-x264

Fix transcode-x264 example
This commit is contained in:
Kornel
2023-01-17 01:20:31 +00:00
committed by GitHub
+1 -2
View File
@@ -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());