From bd5b0138767e972d01aa203e5fcb47145df8b881 Mon Sep 17 00:00:00 2001 From: Ihor Boldysh Date: Wed, 12 Mar 2025 12:46:52 +0200 Subject: [PATCH] fix: fix for using input options in ffprobe --- lib/ffprobe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ffprobe.js b/lib/ffprobe.js index d24be85d..21a19746 100644 --- a/lib/ffprobe.js +++ b/lib/ffprobe.js @@ -152,7 +152,7 @@ module.exports = function(proto) { // Spawn ffprobe var src = input.isStream ? 'pipe:0' : input.source; - var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(options, src), {windowsHide: true}); + var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(input.options.get(), options, src), {windowsHide: true}); if (input.isStream) { // Skip errors on stdin. These get thrown when ffprobe is complete and