vpxenc: don't set resize-allowed to true

It wasn't clear what the purpose of setting it was in the first
place, and it was causing libvpx to print warnings at runtime ..
This commit is contained in:
Mathieu Duponchelle 2022-06-02 23:20:22 +02:00
parent 2c855b9cfe
commit 42f2ae7c2b

View file

@ -350,7 +350,6 @@ fn configure_encoder(enc: &gst::Element, start_bitrate: u32) {
enc.set_property("buffer-initial-size", 100i32);
enc.set_property("buffer-optimal-size", 120i32);
enc.set_property("buffer-size", 150i32);
enc.set_property("resize-allowed", true);
enc.set_property("max-intra-bitrate", 250i32);
enc.set_property_from_str("error-resilient", "default");
enc.set_property("lag-in-frames", 0i32);