Skip to content

Commit 1067d1e

Browse files
fix: fix for using input options in ffprobe (#5)
Co-authored-by: Ihor Boldysh <igor.boldysh@xtendx.com>
1 parent a0e31a0 commit 1067d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ffprobe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ module.exports = function(proto) {
152152

153153
// Spawn ffprobe
154154
var src = input.isStream ? 'pipe:0' : input.source;
155-
var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(options, src), {windowsHide: true});
155+
var ffprobe = spawn(path, ['-show_streams', '-show_format'].concat(input.options.get(), options, src), {windowsHide: true});
156156

157157
if (input.isStream) {
158158
// Skip errors on stdin. These get thrown when ffprobe is complete and

0 commit comments

Comments
 (0)