Skip to content

Commit 3002287

Browse files
jefdriesenmikeller
authored andcommitted
Fix the deco stop depth scaling factor
The decompression stop depth values are stored with a unit of centimeters and not 1 meter.
1 parent 7a405fd commit 3002287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/seac_screen_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ seac_screen_parser_samples_foreach (dc_parser_t *abstract, dc_sample_callback_t
353353
if (decodepth) {
354354
sample.deco.type = DC_DECO_DECOSTOP;
355355
sample.deco.time = decotime;
356-
sample.deco.depth = decodepth;
356+
sample.deco.depth = decodepth / 100.0;
357357
} else {
358358
sample.deco.type = DC_DECO_NDL;
359359
sample.deco.time = ndl_tts;

0 commit comments

Comments
 (0)