return video_codec_context()->colorspace;
}
- int bits_per_pixel () const;
+ boost::optional<int> bits_per_pixel () const;
+
+ boost::optional<double> rotation () const {
+ return _rotation;
+ }
private:
void video_packet (AVCodecContext *);
Frame _video_length;
bool _need_video_length;
+ boost::optional<double> _rotation;
+
struct SubtitleStart
{
SubtitleStart (std::string id_, bool image_, ContentTime time_)