Skip to content

Commit b0f6712

Browse files
khamilowiczclaude
andcommitted
Fix Elixir 1.19 and OTP 28 compatibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 15e6eba commit b0f6712

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,6 @@ $RECYCLE.BIN/
177177
*.lnk
178178

179179
# End of https://www.gitignore.io/api/c,vim,linux,macos,elixir,windows,visualstudiocode
180+
181+
# Dialyzer PLT cache
182+
/priv/plts/

lib/membrane_vpx/encoder/vpx_encoder.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
defmodule Membrane.VPx.Encoder do
22
@moduledoc false
3-
alias Membrane.Pad
43
alias Membrane.{Buffer, KeyframeRequestEvent, RawVideo, VP8, VP9}
54
alias Membrane.Element.CallbackContext
5+
alias Membrane.Pad
66
alias Membrane.VPx.Encoder.Native
77

88
@default_encoding_deadline Membrane.Time.milliseconds(10)

mix.exs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ defmodule Membrane.VPx.Plugin.Mixfile do
4848
{:membrane_raw_video_parser_plugin, "~> 0.12.1", only: :test},
4949
{:membrane_file_plugin, "~> 0.17.0", only: :test},
5050
{:membrane_realtimer_plugin, "~> 0.9.0", only: :test},
51-
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
52-
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
53-
{:credo, ">= 0.0.0", only: :dev, runtime: false}
51+
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
52+
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
53+
{:credo, "~> 1.7", only: :dev, runtime: false}
5454
]
5555
end
5656

5757
defp dialyzer() do
5858
opts = [
59-
flags: [:error_handling]
59+
flags: [:error_handling],
60+
plt_add_apps: [:mix, :syntax_tools]
6061
]
6162

6263
if System.get_env("CI") == "true" do

0 commit comments

Comments
 (0)