From b713d843e5a6e0ceba029dfca0b9664f1223635e Mon Sep 17 00:00:00 2001 From: "feliks.pobiedzinski@swmansion.com" Date: Thu, 27 Jun 2024 18:20:18 +0200 Subject: [PATCH] Fix bug --- README.md | 2 +- lib/membrane_ffmpeg_swscale/converter.ex | 4 ++-- mix.exs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a94ec5d..a4e296b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ It is a part of [Membrane Multimedia Framework](https://membrane.stream). Add the following line to your `deps` in `mix.exs`. Run `mix deps.get`. ```elixir -{:membrane_ffmpeg_swscale_plugin, "~> 0.16.0"} +{:membrane_ffmpeg_swscale_plugin, "~> 0.16.1"} ``` The precompiled builds of the [ffmpeg](https://www.ffmpeg.org) will be pulled and linked automatically. However, should there be any problems, consider installing it manually. diff --git a/lib/membrane_ffmpeg_swscale/converter.ex b/lib/membrane_ffmpeg_swscale/converter.ex index aa210ad..11bf1a7 100644 --- a/lib/membrane_ffmpeg_swscale/converter.ex +++ b/lib/membrane_ffmpeg_swscale/converter.ex @@ -149,8 +149,8 @@ defmodule Membrane.FFmpeg.SWScale.Converter do ), {:ok, output_converter} <- PixelFormatConverter.Native.create( - stream_format.width, - stream_format.height, + state.output_width, + state.output_height, :I420, output_pixel_format ) do diff --git a/mix.exs b/mix.exs index 958235b..e190f9a 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Membrane.FFmpeg.SWScale.Mixfile do use Mix.Project - @version "0.16.0" + @version "0.16.1" @github_url "https://github.com/membraneframework/membrane_ffmpeg_swscale_plugin" def project do