summaryrefslogtreecommitdiff
path: root/src/lib/reel_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/reel_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/reel_writer.h')
-rw-r--r--src/lib/reel_writer.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/reel_writer.h b/src/lib/reel_writer.h
index edf6c081e..c0e98f6eb 100644
--- a/src/lib/reel_writer.h
+++ b/src/lib/reel_writer.h
@@ -72,10 +72,6 @@ public:
return _period;
}
- int total_written_audio_frames () const {
- return _total_written_audio_frames;
- }
-
int last_written_video_frame () const {
return _last_written_video_frame;
}
@@ -107,8 +103,6 @@ private:
/** the index of the last written video frame within the reel */
int _last_written_video_frame;
Eyes _last_written_eyes;
- /** the number of audio frames that have been written to the reel */
- int _total_written_audio_frames;
/** index of this reel within the DCP (starting from 0) */
int _reel_index;
/** number of reels in the DCP */