aom: Drop pointless cast from av1enc
https://bugzilla.gnome.org/show_bug.cgi?id=791674
This commit is contained in:
parent
86abe6b1e6
commit
fc4fe1c10e
@ -159,15 +159,14 @@ gst_av1_enc_finalize (GObject * object)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_av1_enc_set_latency (GstAV1Enc * encoder)
|
gst_av1_enc_set_latency (GstAV1Enc * av1enc)
|
||||||
{
|
{
|
||||||
GstAV1Enc *av1enc = GST_AV1_ENC_CAST (encoder);
|
|
||||||
GstClockTime latency =
|
GstClockTime latency =
|
||||||
gst_util_uint64_scale (av1enc->aom_cfg.g_lag_in_frames, 1 * GST_SECOND,
|
gst_util_uint64_scale (av1enc->aom_cfg.g_lag_in_frames, 1 * GST_SECOND,
|
||||||
30);
|
30);
|
||||||
gst_video_encoder_set_latency (GST_VIDEO_ENCODER (encoder), latency, latency);
|
gst_video_encoder_set_latency (GST_VIDEO_ENCODER (av1enc), latency, latency);
|
||||||
|
|
||||||
GST_WARNING_OBJECT (encoder, "Latency unimplemented");
|
GST_WARNING_OBJECT (av1enc, "Latency unimplemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
static const gchar *
|
static const gchar *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user