GNOME Bugzilla – Bug 682524
Matroska: Support tag targets
Last modified: 2012-10-28 16:58:21 UTC
This Matroska tagging system feature is the only way to specify things like GST_TAG_ALBUM_VOLUME_NUMBER, GST_TAG_ALBUM_VOLUME_COUNT, GST_TAG_TRACK_NUMBER, GST_TAG_TRACK_COUNT, GST_TAG_ALBUM_TITLE, GST_TAG_ALBUM_ARTIST.
Created attachment 222218 [details] [review] Matroska tag TargetType support * Reads TargetType and TargetTypeValue from a Tag. * After Tag is completely read, processes taglist, substituting some of the tags depending on target type value and the presence of video/subtitle streams. * Supports reading two new simpletags - PART_NUMBER and TOTAL_PARTS Depends on #682448
Created attachment 222299 [details] [review] Matroska tag TargetType support V2 * Reads TargetType and TargetTypeValue from a Tag. * After Tag is completely read, processes taglist, substituting some of the tags depending on target type value and the presence of video/subtitle streams. * Supports reading two new simpletags - PART_NUMBER and TOTAL_PARTS V2: * Fixed argument order for stream counter Depends on #682448
There's a bug in gst_matroska_read_common_apply_target_type_foreach(). Turns out, gst_tag_list_copy_value() doesn't work correctly on multi-valued EXTENDED_COMMENTs (retains first value only). I'll upload a patch later.
Created attachment 222338 [details] [review] Correctly copy multi-valued tags Update for attachment #222299 [details] Fixes value copying.
Created attachment 222372 [details] [review] Unset GValue, fix the loop Patch on top of attachment #222338 [details] Forgot to fix these.
Created attachment 227284 [details] [review] Matroska tag TargetType support V2-1 (merged)
commit 6c635ce64fb98a53a70444a3999dce858fac99f2 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Oct 26 10:09:39 2012 +0200 matroskademux: Fix uninitialized variable compiler warning commit 71fd688ef037aad4dd08fa2e9a2bb2b8a7c5f318 Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Thu Aug 23 15:07:22 2012 +0400 matroskademux: Matroska tag TargetType support * Reads TargetType and TargetTypeValue from a Tag. * After Tag is completely read, processes taglist, substituting some of the tags depending on target type value and the presence of video/subtitle streams. * Supports reading two new simpletags - PART_NUMBER and TOTAL_PARTS Depends on #682448 Fixes #682524