We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1be1f commit c869e3fCopy full SHA for c869e3f
lib/turbojpeg/sink.ex
@@ -46,8 +46,6 @@ defmodule Turbojpeg.Sink do
46
47
@impl true
48
def handle_write(:input, %Buffer{payload: payload}, _ctx, state) do
49
- File.write!("fixture_i420.yuv", Shmex.to_binary(payload))
50
-
51
with {:ok, data} <- Native.to_jpeg(payload, state.jpeg_ref),
52
:ok <- File.write(state.filename, Shmex.to_binary(data)) do
53
{:ok, state}
0 commit comments