diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-19 00:26:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-19 00:26:27 +0000 |
| commit | 54c0378137091de604b8c0d6d98959b55b0cddb6 (patch) | |
| tree | bc591c0e59c5cc2ba1054c1fcc612bf73e8d6eaf /src/lib/ffmpeg_decoder.cc | |
| parent | 5282bd42dbe7f9c114abc6f648cb65ef52c35cf4 (diff) | |
Fix audio analysis; make sure we don't decode video and let it pile up unwanted.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index ec4e33a6e..7c846349f 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -154,7 +154,7 @@ FFmpegDecoder::pass () int const si = _packet.stream_index; - if (si == _video_stream) { + if (si == _video_stream && !_ignore_video) { decode_video_packet (); } else if (_ffmpeg_content->audio_stream() && _ffmpeg_content->audio_stream()->uses_index (_format_context, si)) { decode_audio_packet (); |
