mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-03 14:38:55 +00:00
0.0.0
This commit is contained in:
1 parent
dd706e7f23
commit
12c4b0893d
3 files changed
+4
-4
No files matched your search
Vendored
+1
-1
@@ -14,7 +14,7 @@ export interface ProbeResult {
|
|||||||
codec: JsCodecType
|
codec: JsCodecType
|
||||||
/** The number of frames */
|
/** The number of frames */
|
||||||
nFrames: number
|
nFrames: number
|
||||||
/** The duration of this media in seconds */
|
/** The approximate duration of this media in seconds */
|
||||||
duration: number
|
duration: number
|
||||||
}
|
}
|
||||||
export const enum CodecType {
|
export const enum CodecType {
|
||||||
|
|||||||
+2
-2
@@ -34,8 +34,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"artifacts": "napi artifacts",
|
"artifacts": "napi artifacts",
|
||||||
"build": "yarn build:debug --release",
|
"build": "napi build --platform --release --dts binding.d.ts --js binding.js ./lib",
|
||||||
"build:debug": "napi build --platform --dts binding.d.ts --js ./lib/binding.js ./lib",
|
"build:debug": "napi build --platform --dts binding.d.ts --js binding.js ./lib",
|
||||||
"prepublishOnly": "napi prepublish -t npm",
|
"prepublishOnly": "napi prepublish -t npm",
|
||||||
"test": "ava",
|
"test": "ava",
|
||||||
"universal": "napi universal",
|
"universal": "napi universal",
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ pub struct JsProbeResult {
|
|||||||
pub codec: JsCodecType,
|
pub codec: JsCodecType,
|
||||||
/// The number of frames
|
/// The number of frames
|
||||||
pub n_frames: u32,
|
pub n_frames: u32,
|
||||||
/// The duration of this media in seconds
|
/// The approximate duration of this media in seconds
|
||||||
pub duration: u32,
|
pub duration: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user