Skip to content

Commit 5c96478

Browse files
authored
Add transcoder. Update vk-video dependency. (#7)
* adds Membrane.VKVideo.Transcoder along with Membrane.VKVideo.Transcoder.OutputConfig specifying desired output of the transcoder * adds transcoder.rs with transcoder-specific functions * adds new_transcoder(), transcoder and flush_transcoder() NIFs * updates the dependeny to vk-video, adjusts to its new API and update test fixtures * moves EncodedFrame struct from encoder.rs to common lib.rs * removes Cargo dependencies to wgpu and naga * adds transcoder integration tests * adds a helper mechanism to update reference files by setting TAKE_TEST_REFERENCES_SNAPSHOT=1 env
1 parent 294ca84 commit 5c96478

31 files changed

Lines changed: 874 additions & 1005 deletions

.circleci/config.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,33 @@ version: 2.1
22
orbs:
33
elixir: membraneframework/elixir@1
44

5+
jobs:
6+
rust_lint:
7+
docker:
8+
- image: rust:latest
9+
steps:
10+
- checkout
11+
- run:
12+
name: Install rustfmt and clippy
13+
command: rustup component add rustfmt clippy
14+
- run:
15+
name: Check formatting
16+
command: cargo fmt --check
17+
- run:
18+
name: Run clippy
19+
command: cargo clippy -- -D warnings
20+
521
workflows:
622
version: 2
723
build:
824
jobs:
9-
- elixir/build_test:
25+
- rust_lint:
1026
filters: &filters
1127
tags:
1228
only: /v.*/
29+
- elixir/build_test:
30+
filters:
31+
<<: *filters
1332
- elixir/test:
1433
filters:
1534
<<: *filters

.credo.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
{Credo.Check.Refactor.MatchInCondition, []},
126126
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
127127
{Credo.Check.Refactor.NegatedConditionsWithElse, []},
128-
{Credo.Check.Refactor.Nesting, []},
128+
{Credo.Check.Refactor.Nesting, [max_nesting: 3]},
129129
{Credo.Check.Refactor.UnlessWithElse, []},
130130
{Credo.Check.Refactor.WithClauses, []},
131131

0 commit comments

Comments
 (0)