Skip to content

Make PTS calculation more convenient #24

Description

@panicbit

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions