projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add and use Content::has_mapped_audio().
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_decoder.cc
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index e0d9918b207856e4e70b44a39d4e34f318be3990..019e4f95c6080061579178da6b9cdd2ab87d5188 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-89,7
+89,7
@@
FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmp
_pts_offset = {};
}
- if (c->
audio && !c->audio->mapping().mapped_output_channels().empty
()) {
+ if (c->
has_mapped_audio
()) {
audio = make_shared<AudioDecoder>(this, c->audio, fast);
}