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;