From b7349fce4a788ba8100ef348cc3c70e45c82f2d3 Mon Sep 17 00:00:00 2001 From: Jerzy Wilczek Date: Wed, 14 Sep 2022 16:59:13 +0200 Subject: [PATCH] A fixup addressing project structure changes. I didn't notice the files I just merged should have been migrated. --- .../video_compositor/implementation/wgpu/native.ex} | 4 ++-- lib/membrane/video_compositor/implementation/wgpu/wgpu.ex | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) rename lib/{video_compositor/wgpu_native.ex => membrane/video_compositor/implementation/wgpu/native.ex} (77%) create mode 100644 lib/membrane/video_compositor/implementation/wgpu/wgpu.ex diff --git a/lib/video_compositor/wgpu_native.ex b/lib/membrane/video_compositor/implementation/wgpu/native.ex similarity index 77% rename from lib/video_compositor/wgpu_native.ex rename to lib/membrane/video_compositor/implementation/wgpu/native.ex index 352bb53b..b99e3c18 100644 --- a/lib/video_compositor/wgpu_native.ex +++ b/lib/membrane/video_compositor/implementation/wgpu/native.ex @@ -1,10 +1,10 @@ -defmodule Membrane.VideoCompositor.Wgpu.Native do +defmodule Membrane.VideoCompositor.Implementations.Wgpu.Native do @moduledoc false use Rustler, otp_app: :membrane_video_compositor_plugin, crate: "membrane_videocompositor_wgpu" - alias Membrane.VideoCompositor.OpenGL.Native.Rust.RawVideo + alias Membrane.VideoCompositor.Implementations.OpenGL.Native.Rust.RawVideo @spec init(RawVideo.t(), RawVideo.t(), RawVideo.t()) :: {:ok, any()} | {:error, any} def init(_first_video, _second_video, _out_video), do: error() diff --git a/lib/membrane/video_compositor/implementation/wgpu/wgpu.ex b/lib/membrane/video_compositor/implementation/wgpu/wgpu.ex new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/lib/membrane/video_compositor/implementation/wgpu/wgpu.ex @@ -0,0 +1 @@ +