summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-09 00:02:09 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-09 00:02:09 +0200
commit45525875fef67ec1885968c0c5692307b16a279b (patch)
tree6bd741331b33020bf40982e9cb82f7faa5b48669 /src/sound_asset.cc
parent3a328b69a4770687fa16a113f33882217a59a142 (diff)
Make sound asset language optional.
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index fe0c5dd0..4f0166d8 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -63,11 +63,6 @@ using namespace dcp;
SoundAsset::SoundAsset (boost::filesystem::path file)
: Asset (file)
- /* XXX: this is a fallback language, which will be used if we can't find the RFC5646SpokenLanguage
- * in the MXF header. Perhaps RFC5646SpokenLanguage is optional and we should just not write it
- * if we don't know it.
- */
- , _language ("en-US")
{
ASDCP::PCM::MXFReader reader;
auto r = reader.OpenRead (file.string().c_str());