-
Notifications
You must be signed in to change notification settings - Fork 69
PR to see diff #77
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
Open
jcekstrom-xumo
wants to merge
13
commits into
szatmary:develop
Choose a base branch
from
jcekstrom-xumo:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PR to see diff #77
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes szatmary#59 * pop_on mode requires incrementing the frame timestamp until end_of_caption is encountered. * caption_frame_decode now always updates the timestamp of the frame when the timestamp parameter != -1. This requires that callers only pass a valid timestamp when a new one is encountered, for example with SCC the timestamp at the start of the cue, then -1 until the next new timestamp. * A new enum member is added for the return value, LIBCAPTION_CLEAR. It allows the caller to determine that closed captions should not be displayed anymore, in order to finish the previous cue earlier than the start of the next cue.
Fixed an issue where the character being checked should be the next one, but instead was checking next + len, which made the last caption dissapear.
Because 608 has a 4 row maximum, we drop any caption rows that are past 4. Should revisit this when processing SRT.
Fix function utf8_line_length
Changed 608 captions to always anchor to the bottom.
Preparing for Xumo release of libcaption
previously it was sending an {EOC} - end of caption, then
sending {EDM} erase-display-memory, and {ENM} erase-non-display-memory,
after.
Changes it to {EDM} {ENM} {EOC}
credit Chris Gordon
There were debug statements printing to stdout. Fixed them to print to stderr.
- Changing the order of 608 clear captions to spec
Fixed Clearing Captions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.