Skip to content
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

Add frame size calculation #2

Merged
merged 2 commits into from
Oct 30, 2018
Merged

Add frame size calculation #2

merged 2 commits into from
Oct 30, 2018

Conversation

bblaszkow06
Copy link
Member

No description provided.

@@ -41,4 +42,50 @@ defmodule Membrane.Caps.Video.Raw do

@enforce_keys [:width, :height, :framerate, :format, :aligned]
defstruct [:width, :height, :framerate, :format, :aligned]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just write defstruct @enforce_keys

@bblaszkow06 bblaszkow06 merged commit 6d0195a into master Oct 30, 2018
@bblaszkow06 bblaszkow06 deleted the develop branch October 30, 2018 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants