(&self)
| 149 | } |
| 150 | |
| 151 | fn export_state(&self) -> Result<serde_json::Value> { |
| 152 | use serde_json::json; |
| 153 | |
| 154 | let exposure = unsafe { |
| 155 | get_media_type_uint64(&self.source_reader.0, &MF_MT_VIDEO_LIGHTING).map(|v| v as u32) |
| 156 | }; |
| 157 | |
| 158 | Ok(json!({ |
| 159 | "backend": "msmf", |
| 160 | "exposure": exposure, |
| 161 | })) |
| 162 | } |
| 163 | } |
nothing calls this directly
no test coverage detected