end reason for recording runs

Part of #155
This commit is contained in:
Scott Lamb
2021-09-16 16:24:17 -07:00
parent dafd9041d6
commit f86f03cf59
7 changed files with 37 additions and 12 deletions

View File

@@ -272,6 +272,7 @@ pub struct RecordingToInsert {
pub video_sample_entry_id: i32,
pub video_index: Vec<u8>,
pub sample_file_blake3: Option<[u8; 32]>,
pub end_reason: Option<String>,
}
impl RecordingToInsert {
@@ -2658,6 +2659,7 @@ mod tests {
video_sample_entry_id: vse_id,
video_index: [0u8; 100].to_vec(),
sample_file_blake3: None,
end_reason: None,
};
let id = {
let mut db = db.lock();