chore: format thread names

This commit is contained in:
2025-06-12 17:29:22 +01:00
parent a7ff18b34c
commit cc973f0d9b
6 changed files with 25 additions and 16 deletions

View File

@ -4,7 +4,9 @@ use crate::overseer::Overseer;
use anyhow::Result;
use ffmpeg_rs_raw::ffmpeg_sys_the_third::AVPixelFormat::AV_PIX_FMT_YUV420P;
use ffmpeg_rs_raw::ffmpeg_sys_the_third::AVSampleFormat::AV_SAMPLE_FMT_FLTP;
use ffmpeg_rs_raw::ffmpeg_sys_the_third::{av_frame_free, av_packet_free, AV_PROFILE_H264_MAIN, AVRational};
use ffmpeg_rs_raw::ffmpeg_sys_the_third::{
av_frame_free, av_packet_free, AVRational, AV_PROFILE_H264_MAIN,
};
use ffmpeg_rs_raw::{Encoder, Muxer};
use log::info;
use ringbuf::traits::{Observer, Split};
@ -25,7 +27,7 @@ pub async fn listen(out_dir: String, overseer: Arc<dyn Overseer>) -> Result<()>
let info = ConnectionInfo {
id: Uuid::new_v4(),
endpoint: "test-pattern".to_string(),
endpoint: "test-pattern",
ip_addr: "test-pattern".to_string(),
app_name: "".to_string(),
key: "test".to_string(),
@ -115,8 +117,14 @@ impl TestPatternSrc {
SAMPLE_RATE,
frame_size,
1,
AVRational { num: 1, den: VIDEO_FPS as i32 },
AVRational { num: 1, den: SAMPLE_RATE as i32 },
AVRational {
num: 1,
den: VIDEO_FPS as i32,
},
AVRational {
num: 1,
den: SAMPLE_RATE as i32,
},
)?,
video_encoder,
audio_encoder,