@camstack/addon-pipeline 0.1.1 → 0.1.3

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.
package/dist/addon.js CHANGED
@@ -19,7 +19,6 @@ __export(ffmpeg_config_exports, {
19
19
  });
20
20
  import { execFileSync } from "child_process";
21
21
  import * as os from "os";
22
- import { ensureFfmpeg } from "@camstack/core";
23
22
  function detectPlatformDefaults(ffmpegPath = "ffmpeg") {
24
23
  let hwaccels = [];
25
24
  try {
@@ -60,11 +59,11 @@ function buildFfmpegOutputArgs(config) {
60
59
  if (config.outputArgs?.length) args.push(...config.outputArgs);
61
60
  return args;
62
61
  }
63
- async function resolveFfmpegBinary(configPath, dataDir, logger) {
62
+ async function resolveFfmpegBinary(configPath, deps) {
64
63
  if (configPath && configPath !== "ffmpeg") {
65
64
  return configPath;
66
65
  }
67
- return ensureFfmpeg(dataDir, logger);
66
+ return deps.ensureFfmpeg();
68
67
  }
69
68
  var init_ffmpeg_config = __esm({
70
69
  "src/recording/ffmpeg-config.ts"() {