summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-28 01:36:55 +0100
committerCarl Hetherington <cth@carlh.net>2024-11-01 01:40:30 +0100
commit8edadeea58faf5c075296df1f605407797e9a25a (patch)
tree1a0bc9496001db039c57741a2333ee038bcc9f34 /src/lib/ffmpeg.cc
parent738ced15ead0f029cf2becf9b77d7adf37e733e3 (diff)
Needing length is the same for audio and video, so merge them.
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.