mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: asha-codec-g722: Drop the dependency on FFmpeg
We use the G722 encoder from Android itself and drop the dependency on FFmpeg/libav.
This commit is contained in:
parent
27e0338f24
commit
dbed1bdf3d
4 changed files with 547 additions and 120 deletions
|
|
@ -173,12 +173,12 @@ if get_option('bluez5-codec-lc3').allowed() and lc3_dep.found()
|
|||
install_dir : spa_plugindir / 'bluez5')
|
||||
endif
|
||||
|
||||
if get_option('bluez5-codec-g722').allowed() and ffmpeg.allowed()
|
||||
if get_option('bluez5-codec-g722').allowed()
|
||||
bluez_codec_g722 = shared_library('spa-codec-bluez5-g722',
|
||||
[ 'asha-codec-g722.c', 'media-codecs.c' ],
|
||||
[ 'g722/g722_encode.c', 'asha-codec-g722.c', 'media-codecs.c' ],
|
||||
include_directories : [ configinc ],
|
||||
c_args : codec_args,
|
||||
dependencies : [ spa_dep, avcodec_dep, avformat_dep, avutil_dep ],
|
||||
dependencies : [ spa_dep ],
|
||||
install : true,
|
||||
install_dir : spa_plugindir / 'bluez5')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue