diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-23 15:35:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-23 15:35:24 +0100 |
| commit | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (patch) | |
| tree | 9de52a3053e57bdf79a7986319cb097b33e46b5c /src/pkl.h | |
| parent | b75d977a38f039fd68ed5d4055ae70b4bf631603 (diff) | |
Tidying.
Diffstat (limited to 'src/pkl.h')
| -rw-r--r-- | src/pkl.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,9 +31,11 @@ files in the program, then also delete it here. */ + #ifndef LIBDCP_PKL_H #define LIBDCP_PKL_H + #include "object.h" #include "types.h" #include "util.h" @@ -41,8 +43,10 @@ #include <libcxml/cxml.h> #include <boost/filesystem.hpp> + namespace dcp { + class PKL : public Object { public: @@ -113,7 +117,7 @@ public: private: boost::optional<std::string> _annotation_text; std::string _hash; - int64_t _size; + int64_t _size = 0; std::string _type; }; @@ -123,7 +127,7 @@ public: private: - Standard _standard; + Standard _standard = dcp::Standard::SMPTE; boost::optional<std::string> _annotation_text; std::string _issue_date; std::string _issuer; |
