@aicopycoders/exodus 2026.11.1200-beta.22 → 2026.11.1200-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5310,12 +5310,13 @@ export function readMotion(stdout) {
|
|
|
5310
5310
|
const rows = [];
|
|
5311
5311
|
let t = null;
|
|
5312
5312
|
for (const line of String(stdout ?? "").split("\n")) {
|
|
5313
|
-
|
|
5313
|
+
// COP-361: ffmpeg prints a tiny number with %g ("6.94444e-05"); the exponent and a sign are part of the number.
|
|
5314
|
+
const time = line.match(/pts_time:([-+]?[\d.]+(?:e[-+]?\d+)?)/i);
|
|
5314
5315
|
if (time) {
|
|
5315
5316
|
t = Number(time[1]);
|
|
5316
5317
|
continue;
|
|
5317
5318
|
}
|
|
5318
|
-
const y = line.match(/YAVG=([\d.]+)/);
|
|
5319
|
+
const y = line.match(/YAVG=([-+]?[\d.]+(?:e[-+]?\d+)?)/i);
|
|
5319
5320
|
if (y && t !== null) rows.push({ t, y: Number(y[1]) });
|
|
5320
5321
|
}
|
|
5321
5322
|
return rows;
|