summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-05 23:10:16 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-05 23:10:16 +0000
commit18614dda0d53b713ace5ad1df57298d049dba87f (patch)
treee68887db77ec57a2de344f8230b0e801030bdca5 /src/lib/video_decoder.h
parent8fa7b8c13a76bd54207156de7bb0d09316bad379 (diff)
Split timed from untimed sinks / sources. Should produce same output, in theory.
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index 283ab5d88..5e9c60d08 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -24,7 +24,7 @@
#include "stream.h"
#include "decoder.h"
-class VideoDecoder : public VideoSource, public virtual Decoder
+class VideoDecoder : public TimedVideoSource, public virtual Decoder
{
public:
VideoDecoder (boost::shared_ptr<Film>, DecodeOptions);
@@ -67,7 +67,7 @@ protected:
void emit_video (boost::shared_ptr<Image>, double);
void emit_subtitle (boost::shared_ptr<TimedSubtitle>);
- void repeat_last_video ();
+ void repeat_last_video (double t);
/** Subtitle stream to use when decoding */
boost::shared_ptr<SubtitleStream> _subtitle_stream;
@@ -75,7 +75,7 @@ protected:
std::vector<boost::shared_ptr<SubtitleStream> > _subtitle_streams;
private:
- void signal_video (boost::shared_ptr<Image>, bool, boost::shared_ptr<Subtitle>);
+ void signal_video (boost::shared_ptr<Image>, bool, boost::shared_ptr<Subtitle>, double);
int _video_frame;
double _last_source_time;