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

Use custom error if video does not have frames #1832

Merged
merged 2 commits into from Mar 24, 2020
Merged

Conversation

papr
Copy link
Contributor

@papr papr commented Mar 23, 2020

The old implementation raises a TypeError as av.AVError expects an additional error code. Instead of passing any error code, the new implementation raises (and catches) a custom error in the case that a video is valid but does not contain any frames.

The old implementation raises a TypeError as av.AVError expects an additional error code. Instead of passing any error code, the new implementation raises (and catches) a custom error in the case that a video is valid but does not contain any frames.
@papr papr requested a review from pfaion March 23, 2020 13:53
@papr papr self-assigned this Mar 23, 2020
@papr papr added this to In progress in Task Coordination via automation Mar 23, 2020
@papr papr requested a review from pfaion March 24, 2020 09:52
Task Coordination automation moved this from In progress to Reviewer approved Mar 24, 2020
@papr papr merged commit d9e7781 into develop Mar 24, 2020
Task Coordination automation moved this from Reviewer approved to Done Mar 24, 2020
@papr papr deleted the fix_averror_init branch March 24, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants