diff options
Diffstat (limited to 'lri-rs/src/block.rs')
-rw-r--r-- | lri-rs/src/block.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lri-rs/src/block.rs b/lri-rs/src/block.rs index 77a0100..19e7294 100644 --- a/lri-rs/src/block.rs +++ b/lri-rs/src/block.rs @@ -219,6 +219,7 @@ impl<'lri> Block<'lri> { image_gain, hdr_mode, scene_mode, + is_on_tripod, .. } = vp; @@ -237,6 +238,10 @@ impl<'lri> Block<'lri> { if let Some(Ok(h)) = scene_mode.map(|ev| ev.enum_value()) { ext.scene = Some(h.into()); } + + if let Some(tri) = is_on_tripod { + ext.on_tripod = Some(tri); + } } } @@ -251,6 +256,7 @@ pub(crate) struct ExtractedData { pub af_achieved: Option<bool>, pub hdr: Option<HdrMode>, pub scene: Option<SceneMode>, + pub on_tripod: Option<bool>, } pub enum Message { |