summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-08 23:07:02 +0200
committerwm4 <wm4@nowhere>2013-09-08 23:07:02 +0200
commit1b4d9b26cbd582e71cfb0e45c95a2d27d91db602 (patch)
tree49c9454a6ce77a6cafe305fd3a2ca9ce02fc0d5a /demux/demux.c
parentf5195cc4e715a141a4b74848e93a7921db713bff (diff)
downloadmpv-1b4d9b26cbd582e71cfb0e45c95a2d27d91db602.tar.bz2
mpv-1b4d9b26cbd582e71cfb0e45c95a2d27d91db602.tar.xz
demux: keep title chapter tag in uppercase
This is generally more uniform. Do the same for the file global title in demux_mkv.c, although that is not strictly related to chapters.
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index c3635b9ab1..9447abec96 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -880,7 +880,7 @@ int demuxer_add_chapter(demuxer_t *demuxer, struct bstr name,
.metadata = talloc_zero(demuxer, struct mp_tags),
.demuxer_id = demuxer_id,
};
- mp_tags_set_bstr(new.metadata, bstr0("title"), name);
+ mp_tags_set_bstr(new.metadata, bstr0("TITLE"), name);
MP_TARRAY_APPEND(demuxer, demuxer->chapters, demuxer->num_chapters, new);
return 0;
}