ffmpeg: libffmpeg-audio-dec and -custom use integrated opus decoder

For libffmpeg-audio-dec:

Remove @DEVEL flag from libffmpeg-audio-dec. Reasoning for this is
that choosing this package does not rquire any further action by the
builder in what codecs or formats should be built in.
libffmpeg-custom, the other libffmpeg to require @DEVEL, does need
further interaction.

Add @BUILD_PATENTED as at least one of the audio codecs is likely
patent protected.

Add ffmpeg's native Opus decoder to libffmpeg-audio-dec

Remove libopus dependency to libffmpeg-audio-dec as libopus provides
decode and encode support for Opus audio. Since FFmpeg can decode
Opus audio on its own, and libffmpeg-audio-dec is intended for audio
decoding, libopus is no longer required for Opus audio support.

For libffmpeg-custom:

Add in options for ffmpeg's integrated Opus decoder

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard
2015-05-19 23:48:24 -07:00
parent 5fa4fc4884
commit ae13b1441d
2 changed files with 14 additions and 6 deletions
+5 -4
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ffmpeg
PKG_VERSION:=2.6.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ffmpeg.org/releases/
@@ -162,6 +162,7 @@ FFMPEG_AUDIO_DECODERS:= \
mp3* \
mpc7 \
mpc8 \
opus \
pcm_* \
vorbis \
wavpack \
@@ -197,9 +198,10 @@ FFMPEG_AUDIO_DEMUXERS:= \
FFMPEG_AUDIO_PARSERS:= \
aac \
aac_latm \
flac \
ac3 \
flac \
mpegaudio \
opus \
FFMPEG_AUDIO_PROTOCOLS:= \
file http icecast rtp tcp udp
@@ -308,7 +310,7 @@ endef
define Package/libffmpeg-audio-dec
$(call Package/libffmpeg/Default)
TITLE+= (audio)
DEPENDS+= @DEVEL +libopus +libspeex
DEPENDS+= @BUILD_PATENTED +libspeex
VARIANT:=audio-dec
endef
@@ -462,7 +464,6 @@ ifeq ($(BUILD_VARIANT),audio-dec)
$(call FFMPEG_ENABLE,demuxer,$(FFMPEG_AUDIO_DEMUXERS)) \
$(call FFMPEG_ENABLE,parser,$(FFMPEG_AUDIO_PARSERS)) \
$(call FFMPEG_ENABLE,protocol,$(FFMPEG_AUDIO_PROTOCOLS)) \
--enable-libopus --enable-decoder=libopus \
--enable-libspeex --enable-decoder=libspeex \
--disable-decoder=pcm_bluray,pcm_dvd \