diff options
author | wm4 <wm4@nowhere> | 2014-07-21 19:29:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-21 19:29:58 +0200 |
commit | b6af44d31e5c00b512e4c64b7075b771286e7c74 (patch) | |
tree | 0590b1095d13c61a538d622c1383f96554f27c85 /options/path.h | |
parent | 1f9e0a15a13f9b1efece10515c57e5ed4683e9f3 (diff) | |
download | mpv-b6af44d31e5c00b512e4c64b7075b771286e7c74.tar.bz2 mpv-b6af44d31e5c00b512e4c64b7075b771286e7c74.tar.xz |
audio: move initial decode to generic code
This commit mainly moves the initial decoding of data (done to probe the
audio format) to generic code. This will make it easier to make audio
decoding non-blocking in a later commit.
This commit also changes how decoders return data: instead of having
them write the data into a prepared buffer, they return a reference to
an internal buffer (by setting dec_audio.decoded). This makes it
significantly easier to handle audio format changes, since the decoders
don't really need to care anymore.
Diffstat (limited to 'options/path.h')
0 files changed, 0 insertions, 0 deletions