Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3388274
D10044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
528 B
Referenced Files
None
Subscribers
None
D10044.diff
View Options
diff --git a/native/media/ffmpeg.js b/native/media/ffmpeg.js
--- a/native/media/ffmpeg.js
+++ b/native/media/ffmpeg.js
@@ -64,9 +64,9 @@
const toDefer = [],
toRun = [];
for (const command of this.queue) {
- const type: string = command.type;
+ const { type } = command;
if (openSlots[type]) {
- openSlots = { [type]: openSlots[type] - 1 };
+ openSlots = { [(type: string)]: openSlots[type] - 1 };
this.currentCalls[type]++;
toRun.push(command);
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 1:29 PM (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2601117
Default Alt Text
D10044.diff (528 B)
Attached To
Mode
D10044: [Flow202][native][skip-ci] [60/x] Fix type error in FFmpeg
Attached
Detach File
Event Timeline
Log In to Comment