summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
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;
};