Skip to content

Commit d2ad6dd

Browse files
authored
Merge pull request #16 from membraneframework/fix-tests
Fix integration test
2 parents 4449ced + be6103a commit d2ad6dd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/integration_test.exs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,14 @@ defmodule Membrane.Transcoder.IntegrationTest do
8989
end
9090

9191
test "if encoder and decoder are spawned or not, depending on the value of `transcoding_policy` option" do
92-
for format <- [%AAC{channels: 1}, %H264{alignment: :au, stream_structure: :annexb}],
92+
for format <- [
93+
%AAC{channels: 1, sample_rate: 44_100, profile: :LC},
94+
%H264{alignment: :au, stream_structure: :annexb}
95+
],
9396
transcoding_policy <- [:always, :if_needed, :never] do
9497
output_format =
9598
case format do
96-
%H264{} -> %H264{format | stream_structure: :avc1}
99+
%H264{} = h264 -> %H264{h264 | stream_structure: :avc1}
97100
%AAC{} -> format
98101
end
99102

0 commit comments

Comments
 (0)