record-daemon: fix obs recording

This commit is contained in:
2026-03-20 20:34:44 +01:00
parent dbb224e118
commit 1166424c29
12 changed files with 3717 additions and 515 deletions

View File

@@ -41,7 +41,7 @@ impl EventMapper {
}
/// Map a game event to video and game timestamps.
pub fn map_event(&self, event: &GameEvent) -> Option<(Duration, Option<Duration>)> {
pub fn map_event(&self, _event: &GameEvent) -> Option<(Duration, Option<Duration>)> {
let start_time = self.start_time?;
let now = Utc::now();

View File

@@ -152,7 +152,7 @@ fn event_type_name(event: &GameEvent) -> String {
#[cfg(test)]
mod tests {
use super::*;
use crate::lqp::{KillEvent, ObjectiveEvent, ObjectiveType};
use crate::lqp::KillEvent;
#[test]
fn test_timeline_creation() {