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

Make PTS calculation more convenient #24

Open
panicbit opened this issue May 5, 2017 · 0 comments
Open

Make PTS calculation more convenient #24

panicbit opened this issue May 5, 2017 · 0 comments

Comments

@panicbit
Copy link
Owner

panicbit commented May 5, 2017

Using an external Ts to calculate and set the PTS is error prone. E.g. the user might set the PTS of a frame before calculating the PTS potentially resulting in the same PTS foe the first two frames.

To reduce the potential for mistakes for simple applications I suggest implementing convenience methods like calc_pts_from_instant directly on frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant