diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-27 20:55:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-02 13:38:21 +0100 |
| commit | 0a93237cb5e4642d3b698ff9b7d0cfae5401478c (patch) | |
| tree | b0d5255ae2b90d1c9ef489e78239c2f081ea0a9e /src/lib/ffmpeg.cc | |
| parent | 608c146eb09fac2a8fc60e1a72591f6bb8364e1f (diff) | |
Handle multiple audio streams in a single piece of content
in a similar way to the V1 patch.
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 0cbf7e128..741716b04 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -190,16 +190,6 @@ FFmpeg::video_codec_context () const } AVCodecContext * -FFmpeg::audio_codec_context () const -{ - if (!_ffmpeg_content->audio_stream ()) { - return 0; - } - - return _ffmpeg_content->audio_stream()->stream(_format_context)->codec; -} - -AVCodecContext * FFmpeg::subtitle_codec_context () const { if (!_ffmpeg_content->subtitle_stream ()) { |
