mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-09 21:49:46 -05:00
UNTESTED: note trailing zeros in /recordings reply
This commit is contained in:
@@ -493,6 +493,9 @@ pub struct Recording {
|
||||
|
||||
#[serde(skip_serializing_if = "Not::not")]
|
||||
pub growing: bool,
|
||||
|
||||
#[serde(skip_serializing_if = "Not::not")]
|
||||
pub has_trailing_zero: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
|
||||
@@ -765,6 +765,7 @@ impl Service {
|
||||
video_samples: row.video_samples,
|
||||
video_sample_entry_id: row.video_sample_entry_id,
|
||||
growing: row.growing,
|
||||
has_trailing_zero: row.has_trailing_zero,
|
||||
});
|
||||
if !out
|
||||
.video_sample_entries
|
||||
|
||||
Reference in New Issue
Block a user