diff options
author | wm4 <wm4@nowhere> | 2013-09-08 23:07:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-08 23:07:02 +0200 |
commit | 1b4d9b26cbd582e71cfb0e45c95a2d27d91db602 (patch) | |
tree | 49c9454a6ce77a6cafe305fd3a2ca9ce02fc0d5a /demux | |
parent | f5195cc4e715a141a4b74848e93a7921db713bff (diff) |
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')
-rw-r--r-- | demux/demux.c | 2 | ||||
-rw-r--r-- | demux/demux_mkv.c | 2 |
2 files changed, 2 insertions, 2 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; } diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index 9fcadf6dfa..cf9818d74c 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -372,7 +372,7 @@ static int demux_mkv_read_info(demuxer_t *demuxer) mkv_d->duration); } if (info.n_title) { - demux_info_add_bstr(demuxer, bstr0("title"), info.title); + demux_info_add_bstr(demuxer, bstr0("TITLE"), info.title); } if (info.n_segment_uid) { int len = info.segment_uid.len; |