-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get image width and height from the decoder #9
Conversation
14c0597
to
db5f748
Compare
@type decoded_frame :: %{ | ||
payload: binary(), | ||
pixel_format: RawVideo.pixel_format(), | ||
width: non_neg_integer(), | ||
height: non_neg_integer() | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not used anywhere
|
||
[stream_format: {:output, output_stream_format}] | ||
stream_format_action = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's raise or warn if the frame shape get from native code is different than the shape defined in input stream format (if it has any information about it)
@@ -1,22 +1,29 @@ | |||
defmodule Membrane.VPx.Decoder do | |||
@moduledoc false | |||
|
|||
alias Membrane.{Buffer, RawVideo, RemoteStream, VP8, VP9} | |||
require Membrane.Logger | |||
alias Hex.State |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we don't need it here
No description provided.