Add metadata read/write support for Ogg

This commit is contained in:
Vanilagy
2025-09-05 15:39:29 +02:00
parent 6d32de0fb1
commit d3a030c307
11 changed files with 431 additions and 49 deletions
+1 -1
View File
@@ -1473,7 +1473,7 @@ export class MatroskaDemuxer extends Demuxer {
const metadata = this.currentSegment.metadata;
metadata.raw ??= {};
metadata.raw[name] = value;
metadata.raw[name] ??= value;
if (typeof value === 'string') {
switch (name.toLowerCase()) {