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

Support many new image formats with our FFmpegReader #863

Merged
merged 3 commits into from
Oct 25, 2022

Conversation

jonoomph
Copy link
Member

Support many new image formats with our FFmpegReader, by safely protecting empty packets in GetPacketPTS, and generating a duration and correctly setting the has_single_image property.

Essentially, this is a 1 frame video, but we want OpenShot to pretend it's a 60 minute long image.

…g empty packets in `GetPacketPTS`, and generating a duration and setting the has_single_image property.
@jonoomph
Copy link
Member Author

src/FFmpegReader.cpp Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 24, 2022

Codecov Report

Merging #863 (b70f89f) into develop (05b997a) will decrease coverage by 0.08%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           develop     #863      +/-   ##
===========================================
- Coverage    50.56%   50.48%   -0.09%     
===========================================
  Files          184      184              
  Lines        15988    15994       +6     
===========================================
- Hits          8085     8074      -11     
- Misses        7903     7920      +17     
Impacted Files Coverage Δ
src/FFmpegReader.cpp 73.11% <50.00%> (-0.23%) ⬇️
src/ZmqLogger.cpp 32.53% <0.00%> (-15.67%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jonoomph jonoomph merged commit 1186c24 into develop Oct 25, 2022
@jonoomph jonoomph deleted the broken-image-formats branch October 25, 2022 00:53
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.

1 participant