diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-21 11:57:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-10 23:13:14 +0200 |
| commit | 9db2168dcc14a803dcd9da047ddd70e2142d82e2 (patch) | |
| tree | 452103b2ed3a65cbaf9f3b4bb731c2afdbd809f7 /src/lib/spl_entry.h | |
| parent | d1c151cfdedbf1946d30e9072dc4a5b2ea5f2f80 (diff) | |
Allow specification of player crop in playlist.
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); |
