X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_examiner.h;h=9ffb8421b0ec91c826701b37751d685413c8740b;hb=79355249a27ead72bc2bcd0a84e7a280a3d9a826;hp=d2e6e1a0a1da1dbd17e9778d2058a8edb389d0d4;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index d2e6e1a0a..9ffb8421b 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -53,6 +53,8 @@ public: return _first_video; } + VideoRange range () const; + AVColorRange color_range () const { return video_codec_context()->color_range; } @@ -75,6 +77,12 @@ public: return _rotation; } +#ifdef DCPOMATIC_VARIANT_SWAROOP + boost::optional id () const { + return _id; + } +#endif + private: void video_packet (AVCodecContext *); void audio_packet (AVCodecContext *, boost::shared_ptr); @@ -94,6 +102,10 @@ private: boost::optional _rotation; +#ifdef DCPOMATIC_VARIANT_SWAROOP + boost::optional _id; +#endif + struct SubtitleStart { SubtitleStart (std::string id_, bool image_, dcpomatic::ContentTime time_)