Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK progress optimizations and properly closing gst.pipeline #41

Merged
merged 4 commits into from
Sep 7, 2020

Conversation

sezanzeb
Copy link
Contributor

@sezanzeb sezanzeb commented Sep 3, 2020

The UI froze when converting too many files, because it updated each ones progress even though it remained the same for most files (0.0 or 1.0 when done). This was quite expensive. The change in converter.py is only for cosmetic reasons mostly as it didn't seem to have a large impact. Furthermore, pipelines are properly cleaned after conversion because at some point soundconverter crashed because of too many open files.

I obviously should have done a stresstest earlier.

Also added an integration test for cancelling pipelines.

@sezanzeb sezanzeb changed the title gtk optimizations GTK progress optimizations Sep 3, 2020
@sezanzeb sezanzeb marked this pull request as draft September 3, 2020 22:42
@sezanzeb sezanzeb changed the title GTK progress optimizations GTK progress optimizations and pipeline cleanup Sep 3, 2020
@sezanzeb sezanzeb marked this pull request as ready for review September 3, 2020 23:55
@sezanzeb sezanzeb changed the title GTK progress optimizations and pipeline cleanup GTK progress optimizations and gst.pipeline cleanup Sep 5, 2020
@sezanzeb sezanzeb changed the title GTK progress optimizations and gst.pipeline cleanup GTK progress optimizations and properly closing gst.pipeline Sep 5, 2020
@kassoulet kassoulet merged commit b7d9459 into kassoulet:py3k Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants