We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 067b72b commit 5daf5d2Copy full SHA for 5daf5d2
crates/enc-ffmpeg/src/video/h264.rs
@@ -88,11 +88,6 @@ impl H264EncoderBuilder {
88
.output_size
89
.unwrap_or((input_config.width, input_config.height));
90
91
- if output_width == 0 || output_height == 0 {
92
- output_width = input_config.width;
93
- output_height = input_config.height;
94
- }
95
-
96
if output_width == 0 || output_height == 0 {
97
return Err(H264EncoderError::InvalidOutputDimensions {
98
width: output_width,
0 commit comments