diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-29 10:17:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-03 17:53:41 +0200 |
| commit | 380cda69c5806cd38906ae3bd144e71aa17c38f5 (patch) | |
| tree | 56f1a2fc63011ef54b6ff55cb957679c9d008190 /src/lib/util.h | |
| parent | f1263cd43ad761e63047baf7c674f5de04c0139c (diff) | |
Change how video timing is done.v2.17.0
This commit changes the approach with video timing. Previously,
we would (more-or-less) try to use every video frame from the content
in the output, hoping that they come at a constant frame rate.
This is not always the case, however. Here we preserve the PTS
of video frames, and then when one arrives we output whatever
DCP video frames we can (at the regular DCP frame rate).
Hopefully this will solve a range of sync problems, but it
could also introduce new ones.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 7e7a7b96b..4fbe09a0a 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -115,7 +115,6 @@ extern float relaxed_string_to_float (std::string); extern std::string careful_string_filter (std::string); extern std::pair<int, int> audio_channel_types (std::list<int> mapped, int channels); extern std::shared_ptr<AudioBuffers> remap (std::shared_ptr<const AudioBuffers> input, int output_channels, AudioMapping map); -extern Eyes increment_eyes (Eyes e); extern size_t utf8_strlen (std::string s); extern std::string day_of_week_to_string (boost::gregorian::greg_weekday d); extern void emit_subtitle_image (dcpomatic::ContentTimePeriod period, dcp::SubtitleImage sub, dcp::Size size, std::shared_ptr<TextDecoder> decoder); |
