diff options
Diffstat (limited to 'src/lib/spl_entry.h')
| -rw-r--r-- | src/lib/spl_entry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/spl_entry.h b/src/lib/spl_entry.h index 02f1c03c9..dd304b374 100644 --- a/src/lib/spl_entry.h +++ b/src/lib/spl_entry.h @@ -25,6 +25,7 @@ #include <libcxml/cxml.h> #include <dcp/content_kind.h> +#include <libcxml/cxml.h> namespace xmlpp { @@ -37,7 +38,7 @@ class Content; class SPLEntry { public: - SPLEntry(std::shared_ptr<Content> c); + SPLEntry(std::shared_ptr<Content> c, cxml::ConstNodePtr node = {}); void as_xml(xmlpp::Element* e); @@ -49,6 +50,7 @@ public: boost::optional<std::string> id; boost::optional<dcp::ContentKind> kind; bool encrypted; + boost::optional<float> crop_to_ratio; private: void construct(std::shared_ptr<Content> content); |
