decord/source/modules/media/VideoActionCreators.tsx

18 lines
556 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16320
// Function ID: 16321
2026-07-20 16:05:17 +00:00
// Name: updateVideoSize
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
// Exports: updateVideoSize
2026-08-24 06:08:38 +00:00
// Module 16320 (updateVideoSize)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 709 */;
const result = set.fileFinishedImporting("modules/media/VideoActionCreators.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const updateVideoSize = function updateVideoSize(streamId, dimensions, sharedValue2) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-29 08:29:29 +00:00
obj = { type: "VIDEO_SIZE_UPDATE", streamId, dimensions, zoom: sharedValue2 };
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
};