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

mod_video: fix a problem where preview generation would crash on audio-only videos. #3250

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

mworrell
Copy link
Member

@mworrell mworrell commented Jan 12, 2023

Description

The preview generation would crash because the dimensions of the video could not be fetched.

Checklist

  • documentation updated
  • tests added
  • no BC breaks

@mworrell mworrell added this to the 1.0 milestone Jan 12, 2023
@mmzeeman
Copy link
Member

Interesting video, with sound only.

@mworrell
Copy link
Member Author

Yes, videos are just containers with streams. And this one missed the video stream. Which makes it a bit hard to generate an image from the stream...

@mworrell mworrell merged commit 795be17 into master Jan 13, 2023
@mworrell mworrell deleted the video-audio-only-crash branch January 13, 2023 08:15
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.

None yet

2 participants