mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
Merge pull request #161 from redzic/fix-x264
Fix transcode-x264 example
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user