From 5c450c21d66fe2ad1be120ff427c3d2eb1b6e283 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 15 Nov 2023 15:30:22 -0500 Subject: [PATCH 60/68] v4l2codecs: vp8enc: Don't call virtual negotiate() directly This is not meant to be used like this, call gst_video_encoder_negotiate() instead. Upstream-Status: Pending --- sys/v4l2codecs/gstv4l2codecvp8enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2codecs/gstv4l2codecvp8enc.c b/sys/v4l2codecs/gstv4l2codecvp8enc.c index 5990c73..af84a44 100644 --- a/sys/v4l2codecs/gstv4l2codecvp8enc.c +++ b/sys/v4l2codecs/gstv4l2codecvp8enc.c @@ -329,7 +329,7 @@ gst_v4l2_codec_vp8_enc_set_format (GstVideoEncoder * encoder, gst_video_encoder_set_output_state (GST_VIDEO_ENCODER (self), caps, state); - if (GST_VIDEO_ENCODER_CLASS (parent_class)->negotiate (encoder)) { + if (gst_video_encoder_negotiate (encoder)) { if (!gst_v4l2_encoder_streamon (self->encoder, GST_PAD_SINK)) { GST_ELEMENT_ERROR (self, RESOURCE, FAILED, ("Could not enable the encoder driver."), -- 2.25.1