-
Notifications
You must be signed in to change notification settings - Fork 512
Clean up VCL HRD TODO comment in avc_functions.c #1924
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
base: master
Are you sure you want to change the base?
Clean up VCL HRD TODO comment in avc_functions.c #1924
Conversation
Replace unclear TODO with explanation of why VCL HRD parameters are skipped. VCL HRD is for video buffering compliance and not needed for caption extraction. Changes: - Replace TODO comment with clear explanation - Update mprint message to be more informative - Remove commented-out exit(1) Addresses CCExtractor#1894
cfsmp3
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this cleanup! The change looks good - improving documentation and removing the commented-out exit(1) is helpful.
However, the CI format check is failing. Please fix:
- Line 907: The second comment line has spaces + tabs instead of consistent tabs
- Line 910: Remove the trailing whitespace on the empty line
You can run clang-format -i src/lib_ccx/avc_functions.c locally or just fix the indentation on those two lines.
Once fixed, this is ready to merge.
…itespace - Line 908: Changed spaces+tabs to consistent tabs only - Line 911: Removed trailing tabs on empty line
@cfsmp3 Thank you for the quick review and clear feedback! I've fixed both formatting issues:
The format check should pass now. Ready for another look when you have time! |
|
I've removed the extra blank line. The format check should pass now! |
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit fd15528...:
Congratulations: Merging this PR would fix the following tests:
All tests passed completely. Check the result page for more info. |
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit fd15528...:
Congratulations: Merging this PR would fix the following tests:
All tests passed completely. Check the result page for more info. |
[IMPROVEMENT] Clean up VCL HRD TODO comment in avc_functions.c
Addresses #1894
Summary
Replace unclear TODO with explanation of why VCL HRD parameters are skipped. VCL HRD is for video buffering compliance and not needed for caption extraction.
Changes:
Context:
This code handles VCL (Video Coding Layer) HRD parameters in H.264/AVC streams. These parameters are for video decoder buffering compliance and are not needed for CCExtractor's purpose of extracting closed captions from SEI NAL units.
The existing code correctly skips these parameters - this PR just improves the code documentation to make that clear.
Testing:
Thanks to @cfsmp3 for the detailed guidance on this cleanup!
In raising this pull request, I confirm the following (please check boxes):
Note: CHANGES.TXT not updated as this is a minor documentation-only change with no functional impact.
My familiarity with the project is as follows (check one):