Closed dukelec closed 4 years ago
The good news is that SDL2 has added the API Flowblade needs - namely this https://wiki.libsdl.org/SDL_SetWindowResizable?highlight=%28%5CbCategoryVideo%5Cb%29%7C%28CategoryEnum%29%7C%28CategoryStruct%29
This was missing last time I tried but I got it otherwise working.
We will do first exploratory coding next week or week after that but meanwhile I'm closing this.
Closing this as separate issue, we will be moving on from SDL1 whenever possible.
I got SDL2 video display working fully with complete application life cycle + resource initialization and release + starting and stopping consumer + correct video display resizing but unfortunately the performance was terrible. SDL2 spends massive amounts of time on some function converting YUV to RGB, a task that SDL1 did much more efficiently, on my test 80% v.40% CPU utilization between the two.
Next we will try SDL2 + OpenGL, this should very much be doable now that we got the life cycle and resizing working, we should be able to get OpenGL initialized by SDL very reliably on all Linux systems.
Please include the following information. 1) Flowblade version (Help->About): 2) MLT version (Help->Runtime Environment): 3) Your distribution (Ubuntu, Debian, Mint etc.): 4) If possible, try to provide step-by-step instructions on how to reproduce the issue. From developer point of view this is the easieast way to understand what is happening.:
Log: