mltframework / mltframework/mlt
melt playing window stopped refresh after resized
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.9k
- Forks
- 387
- Avg merge
- 17h 28m
- Merged PRs (30d)
- 8
Description
I built mlt-7.4.0 using mingw64 toolchain. When playing mp4 videos using command line tool melt, consumer_sdl2 is used, and the producer is avformat I guess. If I resized playing window, frame resized as well, but stopped refreshing afterwards, and audio played as normal as before.
I digged into source file consumer_sdl2.c, finding self->window_width is updated after resizing event, everything seems OK. I tried adding following line after window resized:
SDL_RenderSetViewport(self->sdl_renderer, NULL);
Nothing good happened.
It's frustrated me serveral days. Any advice to solve it?
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 consumer_sdl2.c and the window-resize event handling described in the report. Reproduce the issue with melt playing an MP4, then inspect why video frame refresh stops after resizing while audio continues. Done means resized playback continues refreshing normally; no test file is mentioned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100