mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 13:53:53 +02:00
Add subtitle tracks and implement subtitle tracks for Matroska muxer
This commit is contained in:
+2
-3
@@ -1,9 +1,8 @@
|
||||
import { Output } from "./output";
|
||||
import { ArrayBufferTargetWriter, ChunkedStreamTargetWriter, FileSystemWritableFileStreamTargetWriter, StreamTargetWriter, Writer } from "./writer";
|
||||
|
||||
const isTarget = Symbol('isTarget');
|
||||
export abstract class Target {
|
||||
// If we didn't add this symbol, then {} would be assignable to Target
|
||||
[isTarget]!: true;
|
||||
output: Output | null = null;
|
||||
|
||||
abstract createWriter(): Writer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user