X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fffmpeg_examiner.h;h=67fdcfae0baa65986a407f2adfd2b237828875da;hb=60dc924934e08bf9cba0365fd97b998016a88aba;hp=5cd70d979cd6722f22fdebc3a22bef7f28a64c12;hpb=81a93ab80d04a0d01783266139cac982eb342421;p=dcpomatic.git diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index 5cd70d979..67fdcfae0 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -71,6 +71,10 @@ public: boost::optional bits_per_pixel () const; + boost::optional rotation () const { + return _rotation; + } + private: void video_packet (AVCodecContext *); void audio_packet (AVCodecContext *, boost::shared_ptr); @@ -88,6 +92,8 @@ private: Frame _video_length; bool _need_video_length; + boost::optional _rotation; + struct SubtitleStart { SubtitleStart (std::string id_, bool image_, ContentTime time_)