summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-11-01 18:42:40 +0100
committerCarl Hetherington <cth@carlh.net>2024-11-01 18:42:40 +0100
commit0fb251dc29ab7969c770d4fff70174b13bd1b1a1 (patch)
tree7a82c502e74f3b1f481d871b1a7907f884205da7 /src/lib/ffmpeg.cc
parentdd4d727a2cc5268e22ba68d98eb0ef187e60794b (diff)
parent8edadeea58faf5c075296df1f605407797e9a25a (diff)
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc2
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.