summaryrefslogtreecommitdiff
path: root/src/lib/writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-29 01:11:22 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-29 01:11:22 +0000
commit60d528017a3ac1afdc30a3a000b28dda96a2175e (patch)
treedf6cad7c5ccd7f0da0802eb7dcf258df2bf1f7f9 /src/lib/writer.h
parentf8755c678d5b4b3d6b31761ef0ec13265190ca0c (diff)
Previously the code did not account for referenced audio, so far
as I can see. It decided which reel to write new audio to based on how many frames had been written to the current reel; this makes no sense for referred reels for which the player will emit no audio. This code looks at the audio timestamp instead.
Diffstat (limited to 'src/lib/writer.h')
-rw-r--r--src/lib/writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h
index cb1bdc5cc..ec7b98804 100644
--- a/src/lib/writer.h
+++ b/src/lib/writer.h
@@ -103,7 +103,7 @@ public:
void fake_write (Frame, Eyes);
bool can_repeat (Frame) const;
void repeat (Frame, Eyes);
- void write (boost::shared_ptr<const AudioBuffers>);
+ void write (boost::shared_ptr<const AudioBuffers>, DCPTime time);
void write (PlayerSubtitles subs, DCPTimePeriod period);
void write (std::list<boost::shared_ptr<Font> > fonts);
void write (ReferencedReelAsset asset);