-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Stream sample previews instead of loading all contents into memory #7705
base: master
Are you sure you want to change the base?
Conversation
More consistent with SampleFrame, SampleBuffer, SampleClip, etc
…f_wchar_open isn't always defined
This works great for previewing longer samples. Sadly, something about this branch is buggy when testing with Sample Tracks. It crashes just about every time I try it. I was unable to reproduce this crash on master. stream.mov |
Odd.. how unfortunate. I'll draft this PR and take a look when I get the chance. I need to deal with this crash as well as figuring out the code overlap between the |
This PR adds streaming support for sample files. This means that sample files can be streamed in instead of being loaded all at once into memory. This is especially useful for when you do not necessarily depend on all the sample data, but as they are processed. Currently, only sample previews in the
FileBrowser
make use of sample streams. This should help improve performance when previewing large sample files.