diff --git a/src/subtitle/decode.ts b/src/subtitle/decode.ts index 37608fc..d415767 100644 --- a/src/subtitle/decode.ts +++ b/src/subtitle/decode.ts @@ -1,14 +1,14 @@ /* tslint:disable:no-bitwise false */ 'use strict'; -import crypto = require('crypto'); import bigInt = require('big-integer'); +import crypto = require('crypto'); import zlib = require('zlib'); /** * Decodes the data. */ - export default function(id: number, iv: Buffer|string, data: Buffer|string, - done: (err?: Error, result?: Buffer) => void) +export default function(id: number, iv: Buffer|string, data: Buffer|string, + done: (err?: Error, result?: Buffer) => void) { try { diff --git a/src/video/merge.ts b/src/video/merge.ts index e289067..5765238 100644 --- a/src/video/merge.ts +++ b/src/video/merge.ts @@ -1,15 +1,16 @@ 'use strict'; import childProcess = require('child_process'); import fs = require('fs'); -import path = require('path'); import os = require('os'); +import path = require('path'); + import subtitle from '../subtitle/index'; /** * Merges the subtitle and video files into a Matroska Multimedia Container. */ - export default function(config: IConfig, isSubtitled: boolean, rtmpInputPath: string, filePath: string, - streamMode: string, done: (err: Error) => void) +export default function(config: IConfig, isSubtitled: boolean, rtmpInputPath: string, filePath: string, + streamMode: string, done: (err: Error) => void) { const subtitlePath = filePath + '.' + (subtitle.formats[config.format] ? config.format : 'ass'); let videoPath = filePath; diff --git a/src/video/stream.ts b/src/video/stream.ts index e0f97ed..11d9a5d 100644 --- a/src/video/stream.ts +++ b/src/video/stream.ts @@ -1,7 +1,8 @@ 'use strict'; import childProcess = require('child_process'); -import path = require('path'); import os = require('os'); +import path = require('path'); + import log = require('../log'); /**