X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=2a471584bdae8c8b5e2d1465f2f6f2b9ede67748;hb=b6a6cda147625ccd09738cd338136ea5911a95e8;hp=e6aa4c7b2919b44afc1e6dab71c5fbe4e05d1782;hpb=a97dffe585e8e185c57a3f1b025cffa6da9525d2;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index e6aa4c7b2..2a471584b 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -19,8 +19,10 @@ #include "types.h" #include "position.h" +#include "dcpomatic_time.h" #include "colour_conversion.h" #include "position_image.h" +#include "data.h" extern "C" { #include } @@ -29,7 +31,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,22 +43,22 @@ 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; @@ -88,11 +89,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; };