diff options
author | wm4 <wm4@nowhere> | 2013-12-18 17:12:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-18 17:12:49 +0100 |
commit | b170248389b9129a7485d9fd0377c755b162de45 (patch) | |
tree | ebbf9978b504e1fcbbbb3c6f6ed679cf0aa937fb /audio/out/ao_portaudio.c | |
parent | 80b34ebea4212c232865498c4d4b59ca70befb00 (diff) | |
download | mpv-b170248389b9129a7485d9fd0377c755b162de45.tar.bz2 mpv-b170248389b9129a7485d9fd0377c755b162de45.tar.xz |
ad_lavc: work around deprecation warning
request_channels has been deprecated for years (request_channel_layout
is the replacement), but it appears it's still needed despite the
deprecation at least on older libavcodec versions.
So still set request_channels, but to it with the avoption API, which
hides the deprecation warning. This should also prevent mpv getting
trashed when libavcodec happens to bump its major version.
Diffstat (limited to 'audio/out/ao_portaudio.c')
0 files changed, 0 insertions, 0 deletions