From df8ba8702587d08bfbd2084473cf01ffc165cf23 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 17 Sep 2019 13:02:54 +0530 Subject: [PATCH] omxvideoenc: let encoder base class handle ALLOCATION query Fixing a regression introduced in my previous patch (7c40a91c31aa4bcbb191f7c6a5d222edf9dfd9d1). The ALLOCATION query needs to be handled by GstVideoEncoder (to call propose_allocation()) so chain up the query handling rather than early returning. --- omx/gstomxvideoenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index 1d302bdff8..a007dad39c 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -3313,7 +3313,6 @@ gst_omx_video_enc_sink_query (GstVideoEncoder * encoder, GstQuery * query) GST_QUERY_TYPE_NAME (query)); gst_omx_video_enc_drain (self); - return TRUE; } default: break;