summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-26 22:17:58 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-26 22:17:58 +0100
commit4928ece9b10df775ab3003c024f52bdd30d8f591 (patch)
tree6a0b3c008c33386e2d2ebae4b9aa59ea83149cee /src/lib/ffmpeg_decoder.cc
parent466037c8c1cd4bdb07b959b844e83a511b3bfcfa (diff)
Implemented but faulty.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index af258f381..df7434ff8 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -218,6 +218,12 @@ FFmpegDecoder::audio_sample_format () const
return _audio_codec_context->sample_fmt;
}
+int64_t
+FFmpegDecoder::audio_channel_layout () const
+{
+ return _audio_codec_context->channel_layout;
+}
+
Size
FFmpegDecoder::native_size () const
{