This will be needed to configure the VP9 specific colorimetry, which is
currently configured for VP8 casing warning.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/975>
}
static gboolean
-gst_vp9_enc_configure_encoder (GstVPXEnc * encoder)
+gst_vp9_enc_configure_encoder (GstVPXEnc * encoder, GstVideoCodecState * state)
{
GstVP9Enc *vp9enc = GST_VP9_ENC (encoder);
vpx_codec_err_t status;
}
if (vpx_enc_class->configure_encoder
- && !vpx_enc_class->configure_encoder (encoder)) {
+ && !vpx_enc_class->configure_encoder (encoder, state)) {
ret = FALSE;
g_mutex_unlock (&encoder->encoder_lock);
goto done;
/*enabled scaling*/
gboolean (*enable_scaling) (GstVPXEnc *enc);
/*called from set_format with lock taken*/
- gboolean (*configure_encoder) (GstVPXEnc *enc);
+ gboolean (*configure_encoder) (GstVPXEnc *enc, GstVideoCodecState *state);
/*set image format info*/
void (*set_image_format) (GstVPXEnc *enc, vpx_image_t *image);
/*get new simple caps*/