summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-26 13:03:14 +0000
committerCarl Hetherington <cth@carlh.net>2015-10-26 13:03:14 +0000
commita9f8daff61e227f046f5b87830ce902fd9c3fed7 (patch)
tree7173ada89370166f0f0eacc58966f949b9e6a953 /src/lib/ffmpeg_decoder.cc
parent66fc5f67de47e0951b41417455758a5d19de8b0d (diff)
Speculative fix for image corruption following 2e62b2c0de47fc8e5bcb5466b2876f9b23d2ae84
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index cc4bd34d4..c3a42545a 100644
--- 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 ();
}