mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-27 05:51:01 +00:00
rav1e: Fix build after videoencoder API changes
This commit is contained in:
parent
9119349c08
commit
b17773a574
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ impl Rav1Enc {
|
|||
let output_buffer = gst::Buffer::from_mut_slice(packet_data);
|
||||
frame.set_output_buffer(output_buffer);
|
||||
drop(state_guard);
|
||||
element.finish_frame(frame)?;
|
||||
element.finish_frame(Some(frame))?;
|
||||
state_guard = self.state.lock().unwrap();
|
||||
state = state_guard.as_mut().expect("Not negotiated yet");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue