mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-22 08:58:15 +00:00
rav1e: Update for VideoEncoder::set_format() API changes
This commit is contained in:
parent
9772adbfbf
commit
e877da0ba3
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ impl VideoEncoderImpl for Rav1Enc {
|
|||
fn set_format(
|
||||
&self,
|
||||
element: &gst_video::VideoEncoder,
|
||||
state: &gst_video::VideoCodecState<gst_video::video_codec_state::Readable>,
|
||||
state: &gst_video::VideoCodecState<'static, gst_video::video_codec_state::Readable>,
|
||||
) -> Result<(), gst::LoggableError> {
|
||||
self.finish(element)
|
||||
.map_err(|_| gst_loggable_error!(CAT, "Failed to drain"))?;
|
||||
|
|
Loading…
Reference in a new issue