@remotion/media-parser 4.0.324 → 4.0.326

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.
@@ -8,8 +8,8 @@ const parseElst = ({ iterator, size, offset, }) => {
8
8
  const entryCount = iterator.getUint32();
9
9
  const entries = [];
10
10
  for (let i = 0; i < entryCount; i++) {
11
- const editDuration = iterator.getUint32();
12
- const mediaTime = iterator.getInt32();
11
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
12
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
13
13
  const mediaRateInteger = iterator.getUint16();
14
14
  const mediaRateFraction = iterator.getUint16();
15
15
  entries.push({
@@ -1985,8 +1985,8 @@ var parseElst = ({
1985
1985
  const entryCount = iterator.getUint32();
1986
1986
  const entries = [];
1987
1987
  for (let i = 0;i < entryCount; i++) {
1988
- const editDuration = iterator.getUint32();
1989
- const mediaTime = iterator.getInt32();
1988
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
1989
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
1990
1990
  const mediaRateInteger = iterator.getUint16();
1991
1991
  const mediaRateFraction = iterator.getUint16();
1992
1992
  entries.push({
@@ -18105,7 +18105,7 @@ var downloadAndParseMedia = async (options) => {
18105
18105
  return returnValue;
18106
18106
  };
18107
18107
  // src/version.ts
18108
- var VERSION = "4.0.324";
18108
+ var VERSION = "4.0.326";
18109
18109
 
18110
18110
  // src/index.ts
18111
18111
  var MediaParserInternals = {
@@ -9603,8 +9603,8 @@ var parseElst = ({
9603
9603
  const entryCount = iterator.getUint32();
9604
9604
  const entries = [];
9605
9605
  for (let i = 0;i < entryCount; i++) {
9606
- const editDuration = iterator.getUint32();
9607
- const mediaTime = iterator.getInt32();
9606
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
9607
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
9608
9608
  const mediaRateInteger = iterator.getUint16();
9609
9609
  const mediaRateFraction = iterator.getUint16();
9610
9610
  entries.push({
@@ -9500,8 +9500,8 @@ var parseElst = ({
9500
9500
  const entryCount = iterator.getUint32();
9501
9501
  const entries = [];
9502
9502
  for (let i = 0;i < entryCount; i++) {
9503
- const editDuration = iterator.getUint32();
9504
- const mediaTime = iterator.getInt32();
9503
+ const editDuration = Number(version === 1 ? iterator.getUint64() : iterator.getUint32());
9504
+ const mediaTime = Number(version === 1 ? iterator.getUint64() : iterator.getInt32());
9505
9505
  const mediaRateInteger = iterator.getUint16();
9506
9506
  const mediaRateFraction = iterator.getUint16();
9507
9507
  entries.push({
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "4.0.324";
1
+ export declare const VERSION = "4.0.326";
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '4.0.324';
5
+ exports.VERSION = '4.0.326';
package/package.json CHANGED
@@ -3,15 +3,15 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/media-parser"
4
4
  },
5
5
  "name": "@remotion/media-parser",
6
- "version": "4.0.324",
6
+ "version": "4.0.326",
7
7
  "main": "dist/index.js",
8
8
  "sideEffects": false,
9
9
  "devDependencies": {
10
10
  "@types/wicg-file-system-access": "2023.10.5",
11
11
  "eslint": "9.19.0",
12
12
  "@types/bun": "1.2.8",
13
- "@remotion/example-videos": "4.0.324",
14
- "@remotion/eslint-config-internal": "4.0.324"
13
+ "@remotion/example-videos": "4.0.326",
14
+ "@remotion/eslint-config-internal": "4.0.326"
15
15
  },
16
16
  "publishConfig": {
17
17
  "access": "public"