Skip to content
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

Multiple elements in one process (#293) #355

Merged
merged 36 commits into from May 30, 2022

Conversation

bblaszkow06
Copy link
Member

Closes #293

@bblaszkow06 bblaszkow06 self-assigned this Nov 19, 2021
@bblaszkow06 bblaszkow06 added this to the core 0.9.0 milestone Nov 19, 2021
@bblaszkow06 bblaszkow06 added this to In progress in What's happening in Membrane? via automation Nov 19, 2021
@bblaszkow06 bblaszkow06 removed this from the core 0.9.0 milestone Mar 31, 2022
@bblaszkow06 bblaszkow06 marked this pull request as ready for review April 22, 2022 14:54
@bblaszkow06 bblaszkow06 force-pushed the 293-multiple-elems-one-process branch from e1166ce to 75d4a6b Compare April 28, 2022 11:28
lib/membrane/element/base.ex Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator/context.ex Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Outdated Show resolved Hide resolved
test/membrane/filter_aggregator_test.exs Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator/context.ex Outdated Show resolved Hide resolved
lib/membrane/filter_aggregator.ex Show resolved Hide resolved
@mat-hek mat-hek removed their request for review May 16, 2022 15:38
@bblaszkow06 bblaszkow06 force-pushed the 293-multiple-elems-one-process branch from afbea4f to 8d80c2a Compare May 20, 2022 12:08
@bblaszkow06 bblaszkow06 requested a review from mat-hek May 23, 2022 11:43
mat-hek
mat-hek previously approved these changes May 30, 2022

{name, module} ->
unless is_atom(module) and module.membrane_element?() do
raise "#{inspect(module)} is not an element!"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean the message, exception type or both?
I've started to write it as a ParentError but I realized it might not be the best idea to treat FilterAggregator as a parent in that scenario. I've used ArgumentError instead as it's passed via options and raise happens on handle_init. Any thoughts on that?

@bblaszkow06 bblaszkow06 requested a review from mat-hek May 30, 2022 11:43
@bblaszkow06 bblaszkow06 merged commit 33e5bc9 into master May 30, 2022
@bblaszkow06 bblaszkow06 deleted the 293-multiple-elems-one-process branch May 30, 2022 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Add ability to link multiple elements within one process
2 participants