Skip to content

Commit

Permalink
Incorporate Membrane.Fake.Sink
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Dec 18, 2024
1 parent e0d45ce commit 523cf67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/membrane/fake_sink.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
defmodule Membrane.Fake.Sink do
@moduledoc """
Membrane Sink that ignores incoming data.
"""

use Membrane.Sink

def_input_pad :input, accepted_format: _any

@impl true
def handle_buffer(:input, _buffer, _ctx, state), do: {[], state}
end

0 comments on commit 523cf67

Please sign in to comment.