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

Fix the crash when video is missing transcript #47

Merged
merged 1 commit into from
May 12, 2015

Conversation

0x8badf00d
Copy link

Launch any 2011 video and then view -> transcript crashes the app.

Fix:-
For transcripts that have unavailable objects for keys annotations, timecodes are nil values represented using NSNull. This is causing the app to crash when lines mutable array is initialized with null object count. Fixed by checking annotations or timecodes is NSNull kind of class.

…mecodes are nil values represented using NSNull. Causing the app to crash when lines mutable array is initialized with null object count
insidegui added a commit that referenced this pull request May 12, 2015
Fix the crash when video is missing transcript
@insidegui insidegui merged commit 288c92b into insidegui:master May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants