projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66fc5f6
)
Speculative fix for image corruption following 2e62b2c0de47fc8e5bcb5466b2876f9b23d2ae84
author
Carl Hetherington
<cth@carlh.net>
Mon, 26 Oct 2015 13:03:14 +0000
(13:03 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 26 Oct 2015 13:03:14 +0000
(13:03 +0000)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index cc4bd34d464fefc64c8c87de2bdb891e4e3c8b6d..c3a42545a6ed695a97a06257971e9bd71fae6059 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-116,7
+116,7
@@
FFmpegDecoder::pass (PassReason reason, bool accurate)
decode_video_packet ();
} else if (fc->subtitle_stream() && fc->subtitle_stream()->uses_index (_format_context, si)) {
decode_subtitle_packet ();
- } else if (reason != PASS_REASON_SUBTITLE) {
+ } else if (
accurate ||
reason != PASS_REASON_SUBTITLE) {
decode_audio_packet ();
}