Improve metadata conversion from MKV
This commit is contained in:
3 files changed
+161
-44
No files matched your search
@@ -2198,6 +2198,11 @@ static void parseTags(MatroskaFile *mf,ulonglong toplen) {
|
||||
target->UID = readUInt(mf,(unsigned)len);
|
||||
target->Type = TARGET_EDITION;
|
||||
break;
|
||||
case 0x68ca: // Target type value
|
||||
target = ASGET(mf,tag,Targets);
|
||||
target->UID = readUInt(mf,(unsigned)len);
|
||||
target->Type = TARGET_TYPE_VALUE;
|
||||
break;
|
||||
ENDFOR(mf);
|
||||
break;
|
||||
case 0x67c8: // SimpleTag
|
||||
|
||||
@@ -305,9 +305,11 @@ struct Cue {
|
||||
typedef struct Cue Cue;
|
||||
|
||||
#define TARGET_TRACK 0
|
||||
#define TARGET_CHAPTER 1
|
||||
#define TARGET_CHAPTER 1
|
||||
#define TARGET_ATTACHMENT 2
|
||||
#define TARGET_EDITION 3
|
||||
#define TARGET_EDITION 3
|
||||
#define TARGET_TYPE_VALUE 4
|
||||
|
||||
struct Target {
|
||||
ulonglong UID;
|
||||
unsigned Type;
|
||||
|
||||
Reference in new issue
Block a user