diff options
author | wm4 <wm4@nowhere> | 2016-01-29 22:43:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-29 22:43:00 +0100 |
commit | 354c1fc06d5c2381dc59a39f02aa61a3c252b283 (patch) | |
tree | 1c7c4389e3fd5532ff01264de15f9f39bc8dddb6 /video | |
parent | 946ee29a7ded5edf99942b07227cd81eb1bcc274 (diff) | |
download | mpv-354c1fc06d5c2381dc59a39f02aa61a3c252b283.tar.bz2 mpv-354c1fc06d5c2381dc59a39f02aa61a3c252b283.tar.xz |
audio: move mp_audio->AVFrame conversion to a function
This also makes it refcounted, i.e. the new AVFrame will reference the
mp_audio buffers, instead of potentially forcing the consumer of the
AVFrame to copy the data.
All the extra code is for handling the >8 channels case, which requires
very messy dealing with the extended_ fields (not our fault).
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions