GNOME Bugzilla – Bug 682448
Matroska: per-track tags support
Last modified: 2012-10-28 16:58:30 UTC
Matroska parser should be able to apply tags only to specific tracks depending on target UIDs.
Created attachment 222128 [details] [review] Per-track tags for Matroska Requires Matroska file to have sane layout (track info before tag info). Uses replace-merge. Makes track UIDs 64-bit. Fixes GST_MATROSKA_ID_TARGETEDITIONUID to match the spec.
Actually, now that i've had some time to think about it, it's _technically_ possible (though highly unlikely) for a single tag to apply to chapters, editions AND tracks simultaneously. My patch does not take that into account. I'll probably upload a fixed version sometime later.
Created attachment 222133 [details] [review] Per-track tags for Matroska v2 Requires Matroska file to have sane layout (track info before tag info). Uses replace-merge. Makes track UIDs 64-bit. v2: Fixed version (allows a tag to apply to chapters, editions and tracks at the same time). Fixes a warning string.
Created attachment 222257 [details] [review] Per-track tags for Matroska v2-1 A patch against attachment #222133 [details], fixes the logic. Without it the code might throw critical warnings when toc is NULL and there are track targets.
Created attachment 227283 [details] [review] Per-tracck tags for Matroska v2-2 (merged)
commit b75628f041fbb8e2418fefd9759bbeb40d4c0475 Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Wed Aug 22 15:32:41 2012 +0400 matroskademux: Per-track tags for Matroska Requires Matroska file to have sane layout (track info before tag info). Uses replace-merge. Makes track UIDs 64-bit. Fixes #682448