Closed kaszim closed 7 years ago
@svenanderzen Could you try creating a vlc_instance
in the container instead? For me I reduce cpu usage by 10 % units. Feels like I am seeing things that are not real though 😨
@svenanderzen Can you review the changes? As alot of ui functioanlity depends on the fixes introduced here. Oh and why is travis failing my builds? I don't see vlc imported in main 😨 @mictab help pls
@kaszim It's imported here 😊 https://github.com/kaszim/desktop-stream-viewer/blob/4b82963a2d713964f1aceb28810d0991465efdf7/main.py#L237
LGTM
Description
This fixes a couple of issues that appeared because video frames were not parented. Firstly they will now properly be css:ed. Also this improved performance greatly.
While at it I tested some vlc flags, and found that opengl performed better than directx, so I changed that too.
Important files to review
main.py videoframegrid.py videoframes.py