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

[Android] pass AV_NOPTS_VALUE for OMX video decoders #15078

Merged
merged 1 commit into from
Dec 17, 2018
Merged

Conversation

peak3d
Copy link
Contributor

@peak3d peak3d commented Dec 17, 2018

Description

We have to distinguish between mediacodec decoders when passing invalid (unknown) PTS values.
AMLogic expects 0, OMX expects AV_NOPTS_VALUE. Passing the correct PTS value leads to smooth playback for streams which have discontinous PTS values

Motivation and Context

https://forum.kodi.tv/showthread.php?tid=338106&pid=2800264#pid2800264

How Has This Been Tested?

Playback of sample stream linked in forum post (see prev. section)

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Video Platform: Android Type: Improvement non-breaking change which improves existing functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant