-
Notifications
You must be signed in to change notification settings - Fork 15
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
Memory fixes #7
Memory fixes #7
Conversation
fixing issues with non-releasing addPeriodicTimeObserverForInterval ... why?
…io loading) defaulting to previous behaviour to load audio
Cool, thanks for this. I was aware there was a leak in the audio stuff but never had the time to really look into it. A lot of this addon (minus the audio stuff) got merged into the core, maybe we can now add the audio read in as well. Do you think you could do a pass to fix indentation and remove debug traces before I merge this? |
i had a look at the implementation of the AVPlayer in the current master and created a PR which would fix a potential memory leak: i suspect also something else going on in this addon, but i cannot name it at the moment. i am a bit out of the loop about this, but will come back to that sometimes soon. sure, i will have a look at the indentations and the left debug things and create a new PR. |
Great, FYI you can just push the changes to the same branch and they'll go in this PR. |
all right, fixed the indentations and removed the debug logs |
Memory fixes with audio loading
Thanks! |
thx!! On Sun, Mar 15, 2015 at 10:03 AM, Elie Zananiri [email protected]
|
Hi.
I came across this, when i was using the threaded-version of ofxAVFVideoPlayer (ofxAVFThreadedVideoPlayer).
Actually this PR contains two changes. It might be "better" to seperate the to things, but somehow they are related.
First:
I added a switch to control if the audio gets loaded into the internal buffer or not. The default behavior is how it was before the change (loading audio)
getter: shouldLoadAudio, setter: setShouldLoadAudio:
Second:
When i was testing with the threaded version for a longer time i came across a memory leak. i digged in and found the following: