diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-01 23:51:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-02 23:10:04 +0100 |
| commit | 2ea3a0d0e4066a166c0700bd1d53daa7f1c50dff (patch) | |
| tree | a730b75be36d74a8aee1ebab60d5a3aa629d8d35 /src/lib/player_video.h | |
| parent | 6fa9748f382302fa88292b4219598bb81edc7bd0 (diff) | |
Pass around JPEG2000 data as a shared_ptr and hence avoid a copy
of 4MB of data for every JPEG2000 frame we decode.
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 1a4a01d58..6043632c2 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -79,7 +79,7 @@ public: bool reset_metadata (boost::shared_ptr<const Film> film, dcp::Size video_container_size, dcp::Size film_frame_size); bool has_j2k () const; - dcp::Data j2k () const; + boost::shared_ptr<const dcp::Data> j2k () const; Eyes eyes () const { return _eyes; |
