Put subtitle language back into content from the film (#1930).
authorCarl Hetherington <cth@carlh.net>
Mon, 22 Mar 2021 23:50:11 +0000 (00:50 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 31 Mar 2021 20:48:53 +0000 (22:48 +0200)
commite0a70cd5cfb11fc2de167f3146acdd437a6faa82
tree022ceef78d7daa12bccf519ebab0db5e23a3feb6
parent8640da877450479a85c73b2a921897d83b478c84
Put subtitle language back into content from the film (#1930).

This also adds the main/additional language flag.

Of all the considerations about how to specify subtitle language,
the most important seems to be that the language specification happens
for the content where the language is; i.e. in the content text tab.
22 files changed:
src/lib/content.h
src/lib/film.cc
src/lib/film.h
src/lib/reel_writer.cc
src/lib/subtitle_encoder.cc
src/lib/text_content.cc
src/lib/text_content.h
src/lib/writer.cc
src/wx/dcp_panel.cc
src/wx/dcp_text_track_dialog.cc
src/wx/interop_metadata_dialog.cc
src/wx/interop_metadata_dialog.h
src/wx/language_tag_dialog.cc
src/wx/language_tag_widget.cc
src/wx/language_tag_widget.h
src/wx/smpte_metadata_dialog.cc
src/wx/smpte_metadata_dialog.h
src/wx/text_panel.cc
src/wx/text_panel.h
test/isdcf_name_test.cc
test/subtitle_language_test.cc
test/subtitle_metadata_test.cc