diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-14 13:44:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-13 20:23:29 +0200 |
| commit | d89f53b1ad09cf0f739533483915b702a26594b4 (patch) | |
| tree | 133813acde125aa371b0a30f75af2812e6459aa9 /src/lib/j2k_encoder_backend.h | |
| parent | 50e85cf64504b7fc38b4129aa750c2def28b95fd (diff) | |
wip: encoding; crashes on startup.
Diffstat (limited to 'src/lib/j2k_encoder_backend.h')
| -rw-r--r-- | src/lib/j2k_encoder_backend.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder_backend.h b/src/lib/j2k_encoder_backend.h index 7688e5f15..a19beda53 100644 --- a/src/lib/j2k_encoder_backend.h +++ b/src/lib/j2k_encoder_backend.h @@ -2,6 +2,7 @@ #define DCPOMATIC_J2K_ENCODER_BACKEND_H #include <dcp/data.h> +#include <boost/foreach.hpp> #include <boost/noncopyable.hpp> #include <boost/optional.hpp> #include <boost/shared_ptr.hpp> @@ -13,7 +14,11 @@ class DCPVideo; class J2KEncoderBackend : public boost::noncopyable { public: - virtual boost::optional<dcp::Data> encode (boost::shared_ptr<DCPVideo> video) = 0; + virtual std::vector<dcp::Data> encode (std::vector<boost::shared_ptr<DCPVideo> > video) = 0; + + virtual int quantity () const { + return 1; + } }; #endif |
