Memory leak when use qt_opengl/qt of mpv_examples play video many times.
Open
Nobody has claimed this yet.
os:linux
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
Provide following Information:
- mpv version:0.33,0.29
- Linux Distribution and Version:x86
- Source of the mpv binary :
- If known which version of mpv introduced the problem
- Window Manager and version: x11
- GPU driver and version: Radeon
- Possible screenshot or video of visual glitches:
start:

play 1 time:

play 10 times:

more:
The number of threads continues to increase with the number of playback
Reproduction steps
Expected behavior
Actual behavior
Log file
Sample files
mpv-examples-master.zip
qt-opengl is /libmpv/qt-opengl
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied mpv-examples-master.zip and its qt-opengl/libmpv/qt-opengl example, then reproduce repeated video playback while comparing the thread count and the attached log.log. Done means identifying and fixing the resource growth so repeated playback no longer continually increases the number of threads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100