diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/reel_closed_caption_asset.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/reel_closed_caption_asset.h b/src/reel_closed_caption_asset.h index 6ed50ae0..13d50429 100644 --- a/src/reel_closed_caption_asset.h +++ b/src/reel_closed_caption_asset.h @@ -38,9 +38,10 @@ #ifndef LIBDCP_REEL_CLOSED_CAPTION_ASSET_H #define LIBDCP_REEL_CLOSED_CAPTION_ASSET_H +#include "language_tag.h" +#include "subtitle_asset.h" #include "reel_asset.h" #include "reel_mxf.h" -#include "subtitle_asset.h" namespace dcp { @@ -62,8 +63,8 @@ public: return asset_of_type<SubtitleAsset> (); } - void set_language (std::string l) { - _language = l; + void set_language (dcp::LanguageTag l) { + _language = l.to_string(); } void unset_language () { |
