Skip to content

Commit 5a3cfc5

Browse files
committed
Comment and dependency clearnup
1 parent d8aeefd commit 5a3cfc5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
clap = { version = "3.1.2", features = ["derive"] }
8-
x11rb = { version = "0.9.0", features = ["cursor"] }
8+
x11rb = { version = "0.9.0"}
99
scrap = "0.5.0"
1010
v4l = {version = "0.12.1", features = ["v4l2-sys"] }
1111
gstreamer = "0.17.4"

src/options.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ impl SType {
2222

2323
pub fn get_target_path(&self, filename: &String) -> String {
2424
match self {
25-
// todo: convert this into a function
2625
SType::Record => paths::get_video_path(filename)
2726
.as_path()
2827
.display()

src/recorder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ impl Media for Recorder {
175175
Element::link_many(&[&src_audio, &raw_audio_caps, &queue_audio, &encoder_audio])
176176
.expect("unable to link audio elements in recording pipeline");
177177
// Linking tail elements
178-
queue_video.link(&muxer).unwrap(); // Video to muxer // TODO (probably overcomlicating): use `link_pad` with sync handler
179-
encoder_audio.link(&muxer).unwrap(); // Audio to muxer // TODO (probably overcomlicating): use `link_pad` with sync handler
178+
queue_video.link(&muxer).unwrap(); // Video to muxer // TODO (probably overcomplicating): use `link_pad` with sync handler
179+
encoder_audio.link(&muxer).unwrap(); // Audio to muxer // TODO (probably overcomplicating): use `link_pad` with sync handler
180180
Element::link_many(&[&muxer, &sink])
181181
.expect("unable to link audio elements in recording pipeline");
182182

0 commit comments

Comments
 (0)