Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用媒体基础 Sink Writer IMFSinkWriter 来录制 H.264 和 AAC 编码文件会在 1920x1080 等高分辨率下导致巨大的内存泄漏。
为什么?
内存泄漏的最初原因是 MF_SINK_WRITER_DISABLE_THROTTLING 属性在 TRUE 状态设置为 IMFAttributes 接口。