Skip to content

Commit 6268207

Browse files
committed
Satisfy dialyzer
1 parent 5c8c81d commit 6268207

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/boombox.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ defmodule Boombox do
135135

136136
@typep procs :: %{pipeline: pid(), supervisor: pid()}
137137
@typep opts_map :: %{
138-
input: input(),
139-
output: output(),
138+
input: input() | stream_input(),
139+
output: output() | stream_output(),
140140
parent: pid()
141141
}
142142

lib/boombox/internal_bin.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ defmodule Boombox.InternalBin do
1010
alias Membrane.Transcoder
1111

1212
@type input ::
13-
Boombox.Bin.input()
13+
Boombox.input()
1414
| {:stream, pid(), Boombox.in_stream_opts()}
1515
| :membrane_pad
1616

1717
@type output ::
18-
Boombox.Bin.output()
18+
Boombox.output()
1919
| {:stream, pid(), Boombox.out_stream_opts()}
2020
| :membrane_pad
2121

lib/boombox/internal_bin/webrtc.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ defmodule Boombox.InternalBin.WebRTC do
100100
end
101101

102102
@spec link_output(
103-
Boombox.out_webrtc_opts(),
103+
[Boombox.transcoding_policy_opt()],
104104
Boombox.InternalBin.track_builders(),
105105
Membrane.ChildrenSpec.t(),
106106
webrtc_sink_new_tracks(),
@@ -117,7 +117,7 @@ defmodule Boombox.InternalBin.WebRTC do
117117
end
118118

119119
@spec handle_output_tracks_negotiated(
120-
Boombox.out_webrtc_opts(),
120+
[Boombox.transcoding_policy_opt()],
121121
Boombox.InternalBin.track_builders(),
122122
Membrane.ChildrenSpec.t(),
123123
webrtc_sink_new_tracks(),

0 commit comments

Comments
 (0)