@bililive-tools/manager 1.4.1 → 1.5.0
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/lib/utils.js +2 -1
- package/package.json +1 -1
package/lib/utils.js
CHANGED
|
@@ -127,7 +127,8 @@ export function isFfmpegStartSegment(line) {
|
|
|
127
127
|
return line.includes("Opening ") && line.includes("for writing");
|
|
128
128
|
}
|
|
129
129
|
export function isFfmpegStart(line) {
|
|
130
|
-
return line.includes("frame=") && line.includes("fps=")
|
|
130
|
+
return ((line.includes("frame=") && line.includes("fps=")) ||
|
|
131
|
+
(line.includes("speed=") && line.includes("time=")));
|
|
131
132
|
}
|
|
132
133
|
export const formatTemplate = function template(string, ...args) {
|
|
133
134
|
const nargs = /\{([0-9a-zA-Z_]+)\}/g;
|