diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-09-17 13:02:54 +0530 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-09-17 13:13:23 +0530 |
commit | df8ba8702587d08bfbd2084473cf01ffc165cf23 (patch) | |
tree | 8ab6ee3b366bfd2e75e783be2f449e6d97672192 | |
parent | 7c40a91c31aa4bcbb191f7c6a5d222edf9dfd9d1 (diff) | |
download | gst-omx-df8ba8702587d08bfbd2084473cf01ffc165cf23.tar.gz |
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.
-rw-r--r-- | omx/gstomxvideoenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index 1d302bd..a007dad 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; |