Add GPS summary sorting
Run cargo fmt/clippy
This commit is contained in:
@@ -384,10 +384,14 @@ impl Handler<GeneratePlaylistMessage> for PlaylistGenerator {
|
||||
let use_copy = is_h264 && !has_rotation;
|
||||
|
||||
if has_rotation {
|
||||
info!("Video {} has rotation metadata ({}°), transcoding to apply rotation", video_file, rotation);
|
||||
span.add_event("Transcoding due to rotation", vec![
|
||||
KeyValue::new("rotation_degrees", rotation as i64)
|
||||
]);
|
||||
info!(
|
||||
"Video {} has rotation metadata ({}°), transcoding to apply rotation",
|
||||
video_file, rotation
|
||||
);
|
||||
span.add_event(
|
||||
"Transcoding due to rotation",
|
||||
vec![KeyValue::new("rotation_degrees", rotation as i64)],
|
||||
);
|
||||
} else if use_copy {
|
||||
info!("Video {} is already h264, using stream copy", video_file);
|
||||
span.add_event("Using stream copy (h264 detected)", vec![]);
|
||||
|
||||
Reference in New Issue
Block a user