Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
amishshah committed Aug 7, 2018
1 parent 3b8089e commit a49a75e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prism-media",
"version": "0.0.2",
"version": "0.0.3",
"description": "Makes transcoding media easier",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/transcoders/ffmpeg/Ffmpeg.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FfmpegTranscoder {

static selectFfmpegCommand() {
try {
return require('ffmpeg-binaries').ffmpegPath();
return require('ffmpeg-binaries');
} catch (err) {
for (const command of ['ffmpeg', 'avconv', './ffmpeg', './avconv']) {
if (!ChildProcess.spawnSync(command, ['-h']).error) return command;
Expand Down

0 comments on commit a49a75e

Please sign in to comment.