diff options
author | wm4 <wm4@nowhere> | 2015-01-13 20:15:43 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-13 20:15:43 +0100 |
commit | 5e25a3d2168555efea9cbd7eb2846d44ede1948d (patch) | |
tree | d5c9fa8180c4f35b062cd2291ebb589d7d58be03 /etc | |
parent | 97becbc31bfd6acb76f584eaf65c1546d6fbcc8b (diff) | |
download | mpv-5e25a3d2168555efea9cbd7eb2846d44ede1948d.tar.bz2 mpv-5e25a3d2168555efea9cbd7eb2846d44ede1948d.tar.xz |
audio: use refcounted frames in the filter chain
The goal is switching the whole audio chain to using refcounted frames.
This brings the architecture closer to FFmpeg, enables better
integration with libavfilter, will reduce useless copying somewhat, and
will probably allow better timestamp tracking.
For now, every filter goes through a semi-awful wrapper in
af_do_filter(), though. This will be fixed step by step, and the wrapper
should eventually be removed. Another thing that will have to be done is
improving the timestamp handling and avoiding extra copies for the AO.
Some of the new code is rather similar to the video filter code (the
core filter code basically just has types replaced). Such code
duplication is normally very unwanted, but in this case there's probably
no other choice. On the other hand, this code is pretty simple (even if
somewhat tricky). Maybe there will be unified filter code in the future,
but this is still far away.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions