linuxdeepin / deepin-screen-recorder

Screen recorder for DDE
GNU General Public License v3.0
104 stars 69 forks source link

fix: 修复录制全屏,拔出USB耳机,一段时间后视频逐渐卡顿,最后系统卡死 #433

Closed hundundadi closed 11 months ago

hundundadi commented 11 months ago

Description: 由于ffmpeg读取音频数据的接口在USB耳机拔了之后给的返回值不正常,但是截图录屏中对不正常的返回值未进行数据的释放 操作,导致内存空间不断增大,造成系统卡死。

Log: 修复录制全屏,拔出USB耳机,一段时间后视频逐渐卡顿,最后系统卡死

Bug: https://pms.uniontech.com/bug-view-235371.html

jeffshuai commented 11 months ago

[是否满足兼容性要求] y [是否满足commit提交规范] y [是否满足编码规范] y [review结论] pass [fail原因] n/a

feeengli commented 11 months ago

[是否满足兼容性要求] Y [是否满足commit提交规范] Y [是否满足编码规范] Y [Review结论] Pass [Fail原因] N/A

deepin-ci-robot commented 11 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: hundundadi, pengfeixx

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[debian/deepin/OWNERS](https://github.com/linuxdeepin/deepin-screen-recorder/blob/release/105x/debian/deepin/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
hundundadi commented 11 months ago

/merge