mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
nvh264enc: Do not wrongly set vbv-buffer-size and use the cbr-ld-hq rc-mode
vbv-buffer-size which is in kbits can't be set while playing so we can't really use it for our use case.
This commit is contained in:
parent
8128c14fa9
commit
da0a934307
1 changed files with 1 additions and 2 deletions
|
@ -349,8 +349,7 @@ fn setup_encoding(
|
|||
"nvh264enc" => {
|
||||
enc.set_property("bitrate", 2048u32);
|
||||
enc.set_property("gop-size", 2560i32);
|
||||
enc.set_property_from_str("rc-mode", "cbr");
|
||||
enc.set_property("vbv-buffer-size", 120u32);
|
||||
enc.set_property_from_str("rc-mode", "cbr-ld-hq");
|
||||
enc.set_property("zerolatency", true);
|
||||
}
|
||||
_ => (),
|
||||
|
|
Loading…
Reference in a new issue