facebookarchive / 360-Capture-SDK

A developer focused sample SDK that allows game and virtual Reality devs to be able to easily and quickly integrate 360 photo/video capture capability into their game apps.
https://github.com/facebook/360-Capture-SDK
Other
253 stars 75 forks source link

Does not close the file when muxing fails #28

Closed NoxMortem closed 6 years ago

NoxMortem commented 6 years ago

Which leaves both files in use and they can not be deleted.

grancia commented 6 years ago

Yes, files can't be deleted programmatically until the handle is closed.

NoxMortem commented 6 years ago

Which is why it might be a good idea to close the handle when the muxing fails?

grancia commented 6 years ago

This part has been updated on v2.0. Thanks