Skip to content

Commit 8483641

Browse files
Christa03gfxVPLsdm
authored andcommitted
[Encode] Move task manager m_closeMtx from public to protect
1 parent 21d30bd commit 8483641

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

_studio/mfx_lib/encode_hw/shared/ehw_task_manager.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ namespace MfxEncodeHW
5656
private:
5757
std::map<mfxU32, std::deque<CachedBitstream>> m_cachedBitstream = {};
5858
std::map<mfxU32, bool> m_outputReady = {};
59-
std::mutex m_mtx, m_closeMtx;
59+
std::mutex m_mtx;
6060
std::condition_variable m_cv;
6161

62+
protected:
63+
std::mutex m_closeMtx;
64+
6265
public:
6366

6467
class TMRefWrapper

0 commit comments

Comments
 (0)