webrtcsink: Fix typo in property name for av1enc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1594>
This commit is contained in:
Francisco Javier Velázquez-García 2024-05-29 18:26:39 +03:00 committed by GStreamer Marge Bot
parent 91bc39367b
commit 568e8533fa

View file

@ -770,7 +770,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);