projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301d594
)
fixup! Extract VideoFilterGraphSet.
rec2020
author
Carl Hetherington
<cth@carlh.net>
Tue, 18 Oct 2022 07:30:17 +0000
(09:30 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 18 Oct 2022 07:30:17 +0000
(09:30 +0200)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 95dcc3042a63feef5dd75fb10a121e3bc78f31cc..27b7aa7b7514e4cdcc20d9c2c79c0dd87cf873a5 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-77,7
+77,7
@@
using namespace dcpomatic;
FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmpegContent> c, bool fast)
: FFmpeg (c)
, Decoder (film)
- , _filter_graphs(c->filters(), dcp::Fraction(lrint(_ffmpeg_content->video_frame_rate().get
(
) * 1000), 1000))
+ , _filter_graphs(c->filters(), dcp::Fraction(lrint(_ffmpeg_content->video_frame_rate().get
_value_or(24
) * 1000), 1000))
{
if (c->video && c->video->use()) {
video = make_shared<VideoDecoder>(this, c);