summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-04 19:57:17 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-04 19:57:17 +0000
commitb7466a9653345bc51db4cb1d7e960bfc4c12721f (patch)
tree1de42bc7c5973cecfdedc93d95671fdc7096be68 /src/lib/decoder.h
parentfe4e160ba2df273e8e065d0d12411eba35b00ebf (diff)
parentc2dc03da9cc94fd9bd7e530363b113564237f00e (diff)
Fix merge; other tweaks.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index c60ae4e59..2154da8bf 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -128,8 +128,10 @@ protected:
private:
void emit_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
- void emit_audio (uint8_t* data, int size);
+ void emit_audio (boost::shared_ptr<AudioBuffers>);
+ int64_t video_frames_to_audio_frames (SourceFrame v) const;
+
SourceFrame _video_frames_in;
SourceFrame _video_frames_out;
int64_t _audio_frames_in;
@@ -138,7 +140,7 @@ private:
std::list<boost::shared_ptr<FilterGraph> > _filter_graphs;
DelayLine* _delay_line;
- int _delay_in_bytes;
+ int _delay_in_frames;
boost::shared_ptr<TimedSubtitle> _timed_subtitle;