projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore correct setup of fast resampler when the player is set to fast.
[dcpomatic.git]
/
src
/
lib
/
decoder_factory.cc
diff --git
a/src/lib/decoder_factory.cc
b/src/lib/decoder_factory.cc
index b661d494bf9f02b85864d9a1477974e85400f761..b675f9473331b88439b0ac5e80c17efbb614d07e 100644
(file)
--- a/
src/lib/decoder_factory.cc
+++ b/
src/lib/decoder_factory.cc
@@
-37,16
+37,16
@@
using boost::shared_ptr;
using boost::dynamic_pointer_cast;
shared_ptr<Decoder>
using boost::dynamic_pointer_cast;
shared_ptr<Decoder>
-decoder_factory (shared_ptr<const Content> content, shared_ptr<Log> log)
+decoder_factory (shared_ptr<const Content> content, shared_ptr<Log> log
, bool fast
)
{
shared_ptr<const FFmpegContent> fc = dynamic_pointer_cast<const FFmpegContent> (content);
if (fc) {
{
shared_ptr<const FFmpegContent> fc = dynamic_pointer_cast<const FFmpegContent> (content);
if (fc) {
- return shared_ptr<Decoder> (new FFmpegDecoder (fc, log));
+ return shared_ptr<Decoder> (new FFmpegDecoder (fc, log
, fast
));
}
shared_ptr<const DCPContent> dc = dynamic_pointer_cast<const DCPContent> (content);
if (dc) {
}
shared_ptr<const DCPContent> dc = dynamic_pointer_cast<const DCPContent> (content);
if (dc) {
- return shared_ptr<Decoder> (new DCPDecoder (dc, log));
+ return shared_ptr<Decoder> (new DCPDecoder (dc, log
, fast
));
}
shared_ptr<const ImageContent> ic = dynamic_pointer_cast<const ImageContent> (content);
}
shared_ptr<const ImageContent> ic = dynamic_pointer_cast<const ImageContent> (content);