From 9e5377fb409bfef504fa35dfef27b536df9b71f1 Mon Sep 17 00:00:00 2001 From: Takumi Hara Date: Wed, 22 May 2024 22:39:53 +0900 Subject: [PATCH 1/2] Fix doc for `handle_start_of_stream` --- lib/membrane/element/with_input_pads.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/membrane/element/with_input_pads.ex b/lib/membrane/element/with_input_pads.ex index a27f99d01..c5481763f 100644 --- a/lib/membrane/element/with_input_pads.ex +++ b/lib/membrane/element/with_input_pads.ex @@ -32,7 +32,7 @@ defmodule Membrane.Element.WithInputPads do | Membrane.Element.Action.forward() ], Element.state()} @doc """ - Callback invoked when element receives `Membrane.Event.StartOfStream` event. + Callback invoked when element receives `Membrane.Core.Events.StartOfStream` event. """ @callback handle_start_of_stream( pad :: Pad.ref(), From d51271f51029dd57af015c5734f680096807912e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Feliks=20Pobiedzi=C5=84ski?= <38541925+FelonEkonom@users.noreply.github.com> Date: Fri, 31 May 2024 11:13:30 +0200 Subject: [PATCH 2/2] Update lib/membrane/element/with_input_pads.ex --- lib/membrane/element/with_input_pads.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/membrane/element/with_input_pads.ex b/lib/membrane/element/with_input_pads.ex index c5481763f..defa5a6f1 100644 --- a/lib/membrane/element/with_input_pads.ex +++ b/lib/membrane/element/with_input_pads.ex @@ -32,7 +32,7 @@ defmodule Membrane.Element.WithInputPads do | Membrane.Element.Action.forward() ], Element.state()} @doc """ - Callback invoked when element receives `Membrane.Core.Events.StartOfStream` event. + Callback invoked when element receives the first buffer from the specific pad, before `c:#{__MODULE__}.handle_buffer/4`. """ @callback handle_start_of_stream( pad :: Pad.ref(),