Skip to content

Commit b5e2561

Browse files
committed
feat(recorder): implement Recorder that has a Stream api for iterating frames with a given framerate
1 parent ed1e719 commit b5e2561

File tree

5 files changed

+334
-2
lines changed

5 files changed

+334
-2
lines changed

Cargo.lock

Lines changed: 260 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ log = "0.4.16"
2626
env_logger = "0.9.0"
2727
simplerand = "1.3.0"
2828
humantime = "2.1.0"
29+
smol = "1.2.5"
2930

3031
[dependencies.clap]
3132
version = "3.1.9"
@@ -71,4 +72,4 @@ presentations)
7172

7273
[package.metadata.rpm.targets]
7374
buildflags = ["--release"]
74-
t-rec = { path = "/usr/bin/t-rec" }
75+
t-rec = { path = "/usr/bin/t-rec" }

src/common/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ pub mod utils;
44

55
mod margin;
66
mod platform_api;
7+
mod recorder;
78

89
pub use margin::*;
910
pub use platform_api::*;
11+
pub use recorder::*;

0 commit comments

Comments
 (0)