Skip to content

Conversation

@papr
Copy link
Contributor

@papr papr commented Sep 23, 2019

AV_Writer crashes on closing if the stream has not been configured correctly. Since AV_Writer only configures itself, after receiving at least one frame, a frameless recording resulted in an incorrectly configured stream and crashed Capture.

This PR only flushes the stream and writes timestamps if there was at least one frame.

AV_Writer crashes on closing if the stream has not been configured correctly. Since AV_Writer only configures itself, after receiving at least one frame, a frameless recording resulted in an incorrectly configured stream and crashed Capture.

This PR only flushes the stream and writes timestamps if there was at least one frame.
@papr papr added the type: bug label Sep 23, 2019
@papr papr requested a review from pfaion September 23, 2019 13:39
@papr papr self-assigned this Sep 23, 2019
@pfaion pfaion merged commit 9dc4533 into pupil-labs:master Sep 23, 2019
@papr papr deleted the fix_worldless_recordings branch September 23, 2019 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants