-
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
Add h265 tests #55
Add h265 tests #55
Conversation
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.
Thank you very much for the contribution!
I have spotted some minor things that might be worth changing.
@@ -28,7 +28,7 @@ defmodule Membrane.H264.StreamFormatTest do | |||
} | |||
|
|||
defp perform_test(filename, timeout) do | |||
in_path = Path.expand("../fixtures/input-#{filename}.h264", __DIR__) | |||
in_path = Path.expand("../../fixtures/h264/input-#{filename}.h264", __DIR__) |
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 think we can also change it in the following way since you have already done it in a few other places:
in_path = Path.expand("../../fixtures/h264/input-#{filename}.h264", __DIR__) | |
in_path = Path.expand("test/fixtures/h264/input-#{filename}.h264", __DIR__) |
test/support/common.ex
Outdated
do_prepare_bytestream_buffers(binary) | ||
end | ||
|
||
def prepare_buffers(binary, mode, output_stream_structure, stable_reprefixing?) do |
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.
[NIT] I would think of explicitly calling that function prepare_h264_buffers
rather than having prepare_buffers
and prepare_h265_buffers
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.
Great, thank you very much for your contribution! Soon we will release a new version of a plugin and change the name to membrane_h26x_plugin
No description provided.