summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-31 11:46:05 +0000
committerCarl Hetherington <cth@carlh.net>2012-10-31 11:46:05 +0000
commit09a95eca971ddd2ea75cd615e7ef2b997d52b690 (patch)
tree3c429226dc070cbf0800a2ebbfdd72fa19b2156c /src/lib/decoder.h
parent3ed5df31baed21633d0db9167cd75562f384dec7 (diff)
Try a different approach to frame duplication in the decoder.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 2af9157b4..6cd7757b6 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -112,6 +112,7 @@ protected:
void process_video (AVFrame *);
void process_audio (uint8_t *, int);
void process_subtitle (boost::shared_ptr<TimedSubtitle>);
+ void repeat_last_video ();
int bytes_per_audio_sample () const;
@@ -147,6 +148,9 @@ private:
int64_t _audio_frames_processed;
boost::shared_ptr<TimedSubtitle> _timed_subtitle;
+
+ boost::shared_ptr<Image> _last_image;
+ boost::shared_ptr<Subtitle> _last_subtitle;
};
#endif