webrtcsink: Fix typo in property name for av1enc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1598>
This commit is contained in:
Francisco Javier Velázquez-García 2024-05-29 18:26:39 +03:00 committed by Backport Bot
parent 88b8e35871
commit 3cdb350626

View file

@ -771,7 +771,7 @@ fn configure_encoder(enc: &gst::Element, start_bitrate: u32) {
enc.set_property("target-bitrate", start_bitrate / 1000);
enc.set_property_from_str("end-usage", "cbr");
enc.set_property("keyframe-max-dist", i32::MAX);
enc.set_property_from_str("usage-profile", "real-time");
enc.set_property_from_str("usage-profile", "realtime");
}
"rav1enc" => {
enc.set_property("bitrate", start_bitrate);