-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make indent and formatting consistent #204
Conversation
43936c8
to
9c84f28
Compare
Fix nits.
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.
LGTM. Could you confirm that there are only whitespace changes in this pull request? Thanks.
Changes:
|
@@ -163,12 +162,12 @@ When an item is of type <dfn value export for="AV1 Image Item Type">av01</dfn>, | |||
- The [=AV1 Image Item Data=] shall be identical to the content of an [=AV1 Sample=] marked as 'sync', as defined in [[!AV1-ISOBMFF]]. | |||
- The [=AV1 Image Item Data=] shall have exactly one [=Sequence Header OBU=]. | |||
- If the [=AV1 Image Item Data=] consists of a single frame (i.e. when using a single layer), | |||
- It should have its <code>[=still_picture=]</code> flag set to 1. | |||
- It should have its <code>[=reduced_still_picture_header=]</code> flag set to 1. | |||
- It should have its <code>[=still_picture=]</code> flag set to 1. |
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.
I noticed while going through the text that there were some mismatches on indentation. Any preference for what we should use? Some of the text used 2 spaces, some 4. I don't think any of the text used tabs.
I'm fine with either :)
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.
(Lines 24 to 65 specifically were the ones I noticed)
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.
I don't have a preference for the indentation level, but it would be good to avoid tabs.
Is there a formatting tool similar to clang-format for Bikeshed files?
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.
The PDF versions of HEIF I have render code blocks with an indentation width equivalent to 3 spaces.
The libavif source files use 4 spaces.
To keep it inconsistent, I suggest going with 2 spaces for av1-avif.
I will merge this PR as is for now because it contains locally consistent changes and file-wide consistency can be achieved in another PR.
SHA: 8ebeb5f Reason: push, by y-guyon Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SHA: 8ebeb5f Reason: push, by y-guyon Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fix nits.
Preview | Diff