X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=01b1c74f53e29e4878673759f2f73d3fb78031c1;hb=1d933d796fd7589526378c5242c9fba1e039a37d;hp=e6aa4c7b2919b44afc1e6dab71c5fbe4e05d1782;hpb=a97dffe585e8e185c57a3f1b025cffa6da9525d2;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index e6aa4c7b2..01b1c74f5 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -19,6 +19,7 @@ #include "types.h" #include "position.h" +#include "dcpomatic_time.h" #include "colour_conversion.h" #include "position_image.h" extern "C" { @@ -29,7 +30,6 @@ extern "C" { class Image; class ImageProxy; class Socket; -class Data; /** Everything needed to describe a video frame coming out of the player, but with the * bits still their raw form. We may want to combine the bits on a remote machine, @@ -42,25 +42,25 @@ public: boost::shared_ptr, DCPTime, Crop, - boost::optional, + boost::optional, dcp::Size, dcp::Size, Eyes, Part, boost::optional ); - + PlayerVideo (boost::shared_ptr, boost::shared_ptr); void set_subtitle (PositionImage); - - boost::shared_ptr image (AVPixelFormat pix_fmt, bool burn_subtitle, dcp::NoteHandler note) const; - void add_metadata (xmlpp::Node* node, bool send_subtitles) const; - void send_binary (boost::shared_ptr socket, bool send_subtitles) const; + boost::shared_ptr image (dcp::NoteHandler note) const; + + void add_metadata (xmlpp::Node* node) const; + void send_binary (boost::shared_ptr socket) const; bool has_j2k () const; - Data j2k () const; + dcp::Data j2k () const; DCPTime time () const { return _time; @@ -88,11 +88,11 @@ private: boost::shared_ptr _in; DCPTime _time; Crop _crop; - boost::optional _fade; + boost::optional _fade; dcp::Size _inter_size; dcp::Size _out_size; Eyes _eyes; Part _part; boost::optional _colour_conversion; - PositionImage _subtitle; + boost::optional _subtitle; };