Skip to content

Commit a0b8130

Browse files
committed
Bump version
1 parent e7077e6 commit a0b8130

File tree

4 files changed

+8
-46
lines changed

4 files changed

+8
-46
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ For the full list of input and output options, see [`Boombox.run/2`](https://hex
8585
To use Boombox as an Elixir library, add
8686

8787
```elixir
88-
{:boombox, "~> 0.2.4"}
88+
{:boombox, "~> 0.2.5"}
8989
```
9090

9191
to your dependencies or `Mix.install`.

lib/boombox/internal_bin/storage_endpoints/ogg.ex

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -45,42 +45,4 @@ defmodule Boombox.InternalBin.StorageEndpoints.Ogg do
4545

4646
%Ready{actions: [spec: spec]}
4747
end
48-
49-
# defp foo() do
50-
# audio_spec =
51-
# case track_builders do
52-
# %{audio: audio_track_builder} ->
53-
# [
54-
# audio_track_builder
55-
# |> child(:ogg_audio_transcoder, %Membrane.Transcoder{
56-
# output_stream_format: Membrane.Opus,
57-
# transcoding_policy: transcoding_policy
58-
# })
59-
# |> child(:parser, %Membrane.Opus.Parser{
60-
# generate_best_effort_timestamps?: true,
61-
# delimitation: :undelimit,
62-
# input_delimitted?: false
63-
# })
64-
# |> child(:ogg_muxer, Membrane.Ogg.Muxer)
65-
# |> child(:file_sink, %Membrane.File.Sink{location: location})
66-
# ]
67-
68-
# _no_audio_track ->
69-
# raise "Output endpoint supports only audio, but no audio track is present"
70-
# end
71-
72-
# video_spec =
73-
# case track_builders do
74-
# %{video: video_track_builder} ->
75-
# Logger.warning("Output endpoint supports only audio, discarding video track")
76-
77-
# [
78-
# video_track_builder
79-
# |> child(:video_fake_sink, Membrane.Fake.Sink)
80-
# ]
81-
82-
# _no_video_track ->
83-
# []
84-
# end
85-
# end
8648
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Boombox.Mixfile do
22
use Mix.Project
33

4-
@version "0.2.4"
4+
@version "0.2.5"
55
@github_url "https://github.com/membraneframework/boombox"
66

77
def project do

test/boombox_storage_endpoints_test.exs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ defmodule BoomboxStorageEndpointsTest do
2525
{:mp4, [:audio, :video]}
2626
]
2727

28-
@test_cases for {input_path, input_tracks} <- @inputs,
29-
{output_type, output_tracks} <- @outputs,
30-
not Enum.empty?(Enum.filter(input_tracks, &(&1 in output_tracks))),
31-
do: {input_path, output_type, Enum.filter(input_tracks, &(&1 in output_tracks))}
28+
@test_cases for {input_path, input_kinds} <- @inputs,
29+
{output_type, output_kinds} <- @outputs,
30+
not Enum.empty?(Enum.filter(input_kinds, &(&1 in output_kinds))),
31+
do: {input_path, output_type, Enum.filter(input_kinds, &(&1 in output_kinds))}
3232

3333
@moduletag :tmp_dir
3434

35-
Enum.each(@test_cases, fn {input_path, output_type, tracks} ->
35+
Enum.each(@test_cases, fn {input_path, output_type, kinds} ->
3636
async_test "#{inspect(input_path)} file -> #{inspect(output_type)} file", %{tmp_dir: tmp} do
3737
fixtures_dir = "test/fixtures/storage_endpoints/"
3838
ref_file = Path.join(fixtures_dir, "bun10s.mp4")
@@ -50,7 +50,7 @@ defmodule BoomboxStorageEndpointsTest do
5050
output: output_mp4_path
5151
)
5252

53-
Compare.compare(output_mp4_path, ref_file, kinds: unquote(tracks))
53+
Compare.compare(output_mp4_path, ref_file, kinds: unquote(kinds))
5454
end
5555
end)
5656
end

0 commit comments

Comments
 (0)