From cc9d65a512db89238e9b319b12262449e94097bb Mon Sep 17 00:00:00 2001 From: Wonchul Lee Date: Wed, 3 Oct 2018 17:13:32 +0900 Subject: [PATCH] av1enc: fix compliation with removed defines AOM_FRAME_IS_INVISIBLE is unused and remove in aom_encoder.h https://aomedia-review.googlesource.com/c/aom/+/70421 https://bugzilla.gnome.org/show_bug.cgi?id=791674 --- ext/aom/gstav1enc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/aom/gstav1enc.c b/ext/aom/gstav1enc.c index a4e2c76f3f..3aeacb0573 100644 --- a/ext/aom/gstav1enc.c +++ b/ext/aom/gstav1enc.c @@ -640,9 +640,6 @@ gst_av1_enc_process (GstAV1Enc * encoder) if ((pkt->data.frame.flags & AOM_FRAME_IS_DROPPABLE) != 0) GST_BUFFER_FLAG_SET (frame->output_buffer, GST_BUFFER_FLAG_DROPPABLE); - if ((pkt->data.frame.flags & AOM_FRAME_IS_INVISIBLE) != 0) - GST_BUFFER_FLAG_SET (frame->output_buffer, GST_BUFFER_FLAG_DECODE_ONLY); - ret = gst_video_encoder_finish_frame (video_encoder, frame); if (ret != GST_FLOW_OK)