commit | a1335e1aa895546d2dea67a20ebec4652e81925c | [log] [tgz] |
---|---|---|
author | Wonsik Kim <wonsik@google.com> | Thu Apr 22 16:28:29 2021 -0700 |
committer | Hangyu Kuang <hkuang@google.com> | Fri Apr 23 16:00:29 2021 +0000 |
tree | 3e0fa3126d410422bf5ef584f085c0378989302e | |
parent | 691d8befcdd8ea9fabd23ef27a8714a0aaaa0852 [diff] [blame] |
MediaCodec: add background mode Bug: 183751395 Test: manual Change-Id: If60634c62d44bb828ba309ce376daeddd5d6332f
diff --git a/media/codec2/sfplugin/C2OMXNode.h b/media/codec2/sfplugin/C2OMXNode.h index 9c04969..6669318 100644 --- a/media/codec2/sfplugin/C2OMXNode.h +++ b/media/codec2/sfplugin/C2OMXNode.h
@@ -98,6 +98,11 @@ */ android_dataspace getDataspace(); + /** + * Sets priority of the queue thread. + */ + void setPriority(int priority); + private: std::weak_ptr<Codec2Client::Component> mComp; sp<IOMXBufferSource> mBufferSource;