Skip to content

Conversation

@julijane
Copy link
Contributor

@julijane julijane commented Mar 15, 2025

This adds two methods to SpliceInfoSection.

TimeSpecifiedFlag returns true if the splice command is either SpliceInsert or TimeSignal and a splice time (PTSTime) is specified.

SpliceTimePTS returns the splice time PTS, adjusted by PTSAdjustment. If no time is specified, 0 is returned.

@julijane julijane requested a review from blahspam as a code owner March 15, 2025 12:05
@julijane julijane force-pushed the juli/add-splicetime-helpers branch from eb6fde8 to fbbaeed Compare March 15, 2025 12:07
This adds two methods to SpliceInfoSection.

TimeSpecifiedFlag returns true if the splice command is either SpliceInsert or TimeSignal and a splice time (PTSTime) is specified.

SpliceTimePTS returns the splice time PTS, adjusted by PTSAdjustment. If no time is specified, 0 is returned.
@julijane julijane force-pushed the juli/add-splicetime-helpers branch from fbbaeed to f3868ac Compare March 15, 2025 12:18
Copy link
Collaborator

@blahspam blahspam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition. Thanks!

@blahspam blahspam merged commit 9094259 into Comcast:main Mar 16, 2025
2 checks passed
@julijane julijane deleted the juli/add-splicetime-helpers branch March 16, 2025 18:35
@blahspam blahspam added the enhancement New feature or request label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants