summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-21 23:19:31 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-21 23:19:31 +0100
commitb9f6e9512017dc1ecd3a42aa1ef3c6058608cef5 (patch)
tree0c5ccae6f26d46c270e9287a722b63e397900c57 /src/lib/video_decoder.h
parent02e4022f540915f8a38f9ab9576ac896fe39a1ab (diff)
Give Film a container; move crop into video content; other bits.
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index a73c7d11e..286a0d6e4 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -28,7 +28,7 @@ class VideoContent;
class VideoDecoder : public VideoSource, public virtual Decoder
{
public:
- VideoDecoder (boost::shared_ptr<const Film>);
+ VideoDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const VideoContent>);
/** @return video frame rate second, or 0 if unknown */
virtual float video_frame_rate () const = 0;
@@ -60,9 +60,9 @@ protected:
void emit_subtitle (boost::shared_ptr<TimedSubtitle>);
private:
+ boost::shared_ptr<const VideoContent> _video_content;
int _video_frame;
double _last_content_time;
-
boost::shared_ptr<TimedSubtitle> _timed_subtitle;
};