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

rav1e_js: Various small changes #2493

Merged
merged 1 commit into from
Aug 13, 2020
Merged

Conversation

Urhengulas
Copy link
Contributor

@Urhengulas Urhengulas commented Aug 11, 2020

Changes

  • encoder
    • Pass EncoderConfig as ref to constructor
      --> This enables still using the config afterwards
    • Rename [FrameEncoder, VideoEncoder]::fromEncoderConfig(...) to ::new(...)
      --> doesn't change anything from js user perspective
    • Rm ::default() from FrameEncoder, VideoEncoder
      --> get default config via new Encoder(new EncoderConfig())
  • mod: pub use encoder::VideoEncoder
  • tests: Clean utils::simple_encoding
    --> Make test output less verbose
  • bump version to 0.3.0

@Urhengulas Urhengulas self-assigned this Aug 11, 2020
@coveralls
Copy link
Collaborator

coveralls commented Aug 11, 2020

Coverage Status

Coverage decreased (-1.6%) to 81.57% when pulling 01c9b41 on Urhengulas:jsapi-small-changes into a811e9e on xiph:master.

* `encoder`
    * Pass `EncoderConfig` as ref to constructor
      --> This enables still using the config afterwards
    * Rename [FrameEncoder, VideoEncoder]::fromEncoderConfig(...) to ::new(...)
      --> doesn't change anything from js user perspective
    * Rm `::default()` from `FrameEncoder`, `VideoEncoder`
      --> get default config via `new Encoder(new EncoderConfig())`
* `mod`: `pub use encoder::VideoEncoder`
* `tests`: Clean `utils::simple_encoding`
  --> Make test output less verbose
* bump version to `0.3.0`
Copy link
Collaborator

@lu-zero lu-zero left a comment

Choose a reason for hiding this comment

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

Sounds fine.

@lu-zero lu-zero merged commit 5f9475b into xiph:master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants