Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Nov 7, 2023
1 parent c01a191 commit 91be1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/upgrading/v1.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ 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.

```diff
- 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
```

```diff
Expand Down

0 comments on commit 91be1f5

Please sign in to comment.