Put audio language back in the Film.
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Jun 2021 09:28:48 +0000 (11:28 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Jun 2021 12:25:17 +0000 (14:25 +0200)
commitddd767fd647b2fd585d75ada000d3d01c4c43cb2
treea8807a0e60aac0cf39adee3a7a2d7c5c37cb94ad
parent8a0ab373363c34daf5d926e951ee79fc422fdb3d
Put audio language back in the Film.

It feels neat to have audio language in the audio tab, to match
the subtitle language in the subtitle tab.  It also avoids the potential
confusion of there being an audio language setting in the DCP metadata
but no subtitle language setting.  However:

- I am yet to find a need to describe multiple audio languages in the
same DCP (all previous users of Film::audio_languages() were just taking
the first language off the list).

- As Carsten points out it's fiddly to have to set the audio language
for 5 separate-channel WAV files, for example (you wouldn't actually
have had to do this, but it would have felt like you did).

I think subtitle language remains neater where it is (per-content)
as there is this additional subtitle language metadata and it makes
much more sense (and is much more likely) that there are multiple
subtitle languages in a DCP than it does multiple audio languages.
12 files changed:
src/lib/audio_content.cc
src/lib/audio_content.h
src/lib/dcp_content.cc
src/lib/film.cc
src/lib/film.h
src/lib/reel_writer.cc
src/lib/writer.cc
src/wx/audio_panel.cc
src/wx/audio_panel.h
src/wx/dcp_panel.cc
src/wx/dcp_panel.h
test/isdcf_name_test.cc