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

Add fallback for AVFrame.pkt_dts (certain codecs fail to find a valid video PTS) #867

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

jonoomph
Copy link
Member

This is a regression caused by recent PTS changes, and apparently certain video codecs, such as AV1, do not correctly set the AVFrame->pts field, and instead rely on the AVFrame->pkt_dts. Strange, but the fix is a simple fallback.

@jonoomph
Copy link
Member Author

@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #867 (ea8ffb5) into develop (cd514a1) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #867      +/-   ##
===========================================
- Coverage    51.08%   51.07%   -0.01%     
===========================================
  Files          184      184              
  Lines        16063    16065       +2     
===========================================
  Hits          8206     8206              
- Misses        7857     7859       +2     
Impacted Files Coverage Δ
src/FFmpegReader.cpp 72.97% <0.00%> (-0.14%) ⬇️

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

@jonoomph jonoomph merged commit 670baa5 into develop Nov 1, 2022
@jonoomph jonoomph deleted the avi-pts-fix branch November 1, 2022 04:08
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