Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-28 13:15:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-28 13:16:30 +0400
commit5ac1b38b4b21959b552c0787e2f86a104624c615 (patch)
treec3cc7a4896deaaa89067d7d960aa187dc321a095 /intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h
parent1e05956a0bbba43b5a91068447ec7ceae755a34c (diff)
Support planar sample formats in audio mixdown
Now libav-10 should work for output of ac3 container.
Diffstat (limited to 'intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h')
-rw-r--r--intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h b/intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h
index 743d885fca8..492aa35ff12 100644
--- a/intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h
+++ b/intern/audaspace/ffmpeg/AUD_FFMPEGWriter.h
@@ -90,7 +90,14 @@ private:
/**
* Number of bytes per sample.
*/
- int m_audio_sample_size;
+ int m_sample_size;
+
+ /**
+ * Need to de-interleave audio for planar sample formats.
+ */
+ bool m_deinterleave;
+
+ AUD_Buffer m_deinterleave_buffer;
/**
* The input buffer for the format converted data before encoding.