-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add info about change in default flow control value #673
Conversation
guides/upgrading/v1.0.0.md
Outdated
@@ -51,6 +51,24 @@ end | |||
end | |||
``` | |||
|
|||
### Adjust to change in default `flow_control` (aka. `mode`/`demand_mode`) value. | |||
|
|||
Now, if definition of pad in element does specify type of |
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.
leftover?
guides/upgrading/v1.0.0.md
Outdated
|
||
Now, if definition of pad in element does specify type of | ||
|
||
Now, the default value of `flow_control` option in `def_input_pad` and `def_output_pad` in Elements is `:auto`. Until `v0.12.9`, pads that sepcified neither `flow_control`, `mode` nor `demand_mode` explicitly would have `:manual` `flow_control`. Therefore, `:manual` pads that haven't specified `flow_control` value, now have to do it explicitly. |
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 believe it only affects outputs, because for inputs you have to specify demand_unit
guides/upgrading/v1.0.0.md
Outdated
- def_output_pad :input, accepted_format: %MyStruct{field: :value} | ||
+ def_output_pad :input, accepted_format: %MyStruct{field: :value}, flow_control: :manual |
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.
- def_output_pad :input, accepted_format: %MyStruct{field: :value} | |
+ def_output_pad :input, accepted_format: %MyStruct{field: :value}, flow_control: :manual | |
- def_output_pad :output, accepted_format: %MyStruct{field: :value} | |
+ def_output_pad :output, accepted_format: %MyStruct{field: :value}, flow_control: :manual |
No description provided.