-
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
Implement skip_until_keyframe?
option
#35
Conversation
…e_h264_plugin into nalu_aligned_mode
…g if the parser is working properly with that mode
…at with appropriate alignment depending on options. Add part of test checking if the valid stream format is sent
lib/membrane_h264_plugin/parser.ex
Outdated
Enum.reduce(aus, {[], state.au_counter, state.profile}, fn au, | ||
{actions_acc, cnt, profile} -> | ||
{actions, state} = | ||
Enum.reduce(aus, {[], state}, fn au, {actions_acc, state} -> |
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.
change to flat_map_reduce
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.
done
end | ||
|
||
state = %__MODULE__{ | ||
scheme_parser_state: scheme_parser_state, | ||
has_seen_keyframe?: has_seen_keyframe? |
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.
seems like this field should be completely removed from state
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.
done
This PR:
skip_until_keyframe?
option:valid
and:error
statuses from Membrane.H264.Parser to AUSplitterskip_until_keyframe
is properly working in different scenarios, with and without parameters sent in stream