-
Notifications
You must be signed in to change notification settings - Fork 1
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
skip persumed AUs that don't have any VCL NALus #62
Conversation
state | ||
| skip_until_keyframe: state.skip_until_keyframe and not has_seen_keyframe? | ||
} | ||
defp first_vcl_nalu(au, state) do |
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.
for the sake of consistency you can add a typespec
defp skip_au?(au, keyframe?, state) do | ||
has_seen_keyframe? = keyframe? and Enum.all?(au, &(&1.status == :valid)) | ||
@spec forward_au?(AUSplitter.access_unit(), boolean(), state()) :: {boolean(), state()} | ||
defp forward_au?(au, keyframe?, state) do |
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.
shouldn't the function that ends with ?
return bool? :p
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.
renamed
No description provided.