diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-01 18:42:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-01 18:42:40 +0100 |
| commit | 0fb251dc29ab7969c770d4fff70174b13bd1b1a1 (patch) | |
| tree | 7a82c502e74f3b1f481d871b1a7907f884205da7 /src/lib/ffmpeg.cc | |
| parent | dd4d727a2cc5268e22ba68d98eb0ef187e60794b (diff) | |
| parent | 8edadeea58faf5c075296df1f605407797e9a25a (diff) | |
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index d9df232df..550e045b3 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -326,6 +326,8 @@ FFmpeg::pts_offset (vector<shared_ptr<FFmpegAudioStream>> audio_streams, optiona } } + DCPOMATIC_ASSERT(po != ContentTime::min()); + /* If the offset is positive we would be pushing things from a -ve PTS to be played. I don't think we ever want to do that, as it seems things at -ve PTS are not meant to be seen (use for alignment bars etc.); see mantis #418. |
