-
Notifications
You must be signed in to change notification settings - Fork 25
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
SCC: negative cursor leads to strange behavior #406
Comments
@humberthardy Did you try the test case with the PR at #395, which is a subtanstial refactor of the SCC reader? |
|
Thank you @valnoel, I will test it soon! |
I found some errors, but, I think they are more related to the parent branch, PR #315`. Keep in mind that the main problem is (probably) a malformed SCC 😄
2 - Backspace at beginning of a line.
Easy fix: Rather than check for 3 -Roll up with empty caption
4 - Adding text with no active line
|
@humberthardy Thanks for the feedback. I wasn't sure we wanted to make the SCC reader resilient or constraining regarding the CEA-608 specification until we discuss with @palemieux... Could you please check if this works for you at this point? Thanks! |
Thanks @valnoel for your amazing work, it seems to work better. Again: thank you!
|
@humberthardy I've updated my PR, addressing the last cases you posted. Could you please have a look at it? Thanks! |
I no longer see any python runtime errors. |
Closed by #395 |
Hello,
I may have found an issue in SCCReader
If the cursor becomes negative in
SccCaptionText.append
, old text is overwritten by the new oneHere is a test.
The current result is
Scary!h
instead ofScary Eeech!
I am not sure if it is a bug or a bad\unauthorized SCC sequence, any thought about that?
The text was updated successfully, but these errors were encountered: