diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-02-26 21:07:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-26 21:07:13 +0100 |
| commit | 4d86fd0dbb6a29a233577803c5541e962d4d58ef (patch) | |
| tree | ad8293c19ec2591d7b5926d0c47923db493eb197 /src/cpl.cc | |
| parent | de4b2a1d7f93b9f0dd2113aeff746738c19c8b43 (diff) | |
Remove LIBDCP_VERSION in favour of dcp::version.v1.8.62
The former is only set at configure which is a bit confusing,
and I can't think of a reason to have both.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -51,6 +51,7 @@ #include "reel_sound_asset.h" #include "reel_subtitle_asset.h" #include "util.h" +#include "version.h" #include "warnings.h" #include "xml.h" LIBDCP_DISABLE_WARNINGS @@ -87,8 +88,8 @@ static string const smpte_335_ns = "http://www.smpte-ra.org/reg/335/2012"; CPL::CPL (string annotation_text, ContentKind content_kind, Standard standard) /* default _content_title_text to annotation_text */ - : _issuer ("libdcp" LIBDCP_VERSION) - , _creator ("libdcp" LIBDCP_VERSION) + : _issuer("libdcp", dcp::version) + , _creator("libdcp", dcp::version) , _issue_date (LocalTime().as_string()) , _annotation_text (annotation_text) , _content_title_text (annotation_text) |
