GNOME Bugzilla – Bug 796567
matroskademux: exposes mis-named embedded subtitle track
Last modified: 2018-06-30 15:59:45 UTC
Created attachment 372657 [details] matroskademux log file I have a mkv file with an English subtitles track and an English SDH subtitles track. The TrackName is actually correct for both tracks in matroskademux but on application side both track labels are English, which is a bit confusing, perhaps because the language-code is the same for both tracks? Attaching log file.
Created attachment 372675 [details] [review] patch
Comment on attachment 372675 [details] [review] patch But it can also contain more than just the language, or not? And something completely different. Not sure, it probably is better in most cases but might be completely wrong in others. Maybe instead the name should end up in the title, and applications should also look at the title?
(In reply to Sebastian Dröge (slomo) from comment #2) > Comment on attachment 372675 [details] [review] [review] > patch > > But it can also contain more than just the language, or not? And something > completely different. Right... good point :) > > Not sure, it probably is better in most cases but might be completely wrong > in others. Maybe instead the name should end up in the title, and > applications should also look at the title? Just making sure I understand, that would mean gst-player first looks for GST_TAG_TITLE (todo), then LANGUAGE_NAME, then LANGUAGE_CODE ?
Created attachment 372687 [details] [review] updated patch
Review of attachment 372675 [details] [review]: This commit message doesn't match what the code does to me. You basically make sure that the track name is expoxed to the user here iiuc.
Created attachment 372887 [details] [review] patch Reworded commit message.
Review of attachment 372887 [details] [review]: lgtm
commit 4c10a1ba27ca44450ab76c239de2a218358418e3 (HEAD -> master, origin/master, origin/HEAD) Author: Philippe Normand <philn@igalia.com> Date: Wed Jun 13 17:39:57 2018 +0100 matroskademux: Set subtitle tag title from TrackName field GUI applications can then use the title tag to set menu items or labels representing the track. https://bugzilla.gnome.org/show_bug.cgi?id=796567