Skip to content

Commit 3621155

Browse files
committed
Pass segment paths directly and silence unused meta
1 parent 31c0b2c commit 3621155

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rendering/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub struct SegmentVideoPaths {
115115

116116
impl RecordingSegmentDecoders {
117117
pub async fn new(
118-
recording_meta: &RecordingMeta,
118+
_recording_meta: &RecordingMeta,
119119
meta: &StudioRecordingMeta,
120120
segment: SegmentVideoPaths,
121121
segment_i: usize,
@@ -177,7 +177,7 @@ impl RecordingSegmentDecoders {
177177
let screen_future = async {
178178
spawn_decoder(
179179
"screen",
180-
recording_meta.project_path.join(display_path),
180+
display_path,
181181
screen_fps,
182182
screen_offset,
183183
force_ffmpeg,
@@ -193,7 +193,7 @@ impl RecordingSegmentDecoders {
193193
let camera_fps = camera_fps.ok_or_else(|| "Camera metadata missing".to_string())?;
194194
let camera = spawn_decoder(
195195
"camera",
196-
recording_meta.project_path.join(camera_path),
196+
camera_path,
197197
camera_fps,
198198
camera_offset,
199199
force_ffmpeg,

0 commit comments

Comments
 (0)