Skip to contentSkip to conversation

libav: Disable any mp3 or mpeg2 feature

PATCH New Franklin S. Cooper Jr 1 participant 1 message Nov 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/5 libav: Disable any mp3 or mpeg2 feature

* Disable any feature based on mpeg2 or mp3

---
Version 2 changes:
Add space between the end of the below statements and the backslash --disable-hwaccel=mpeg2_vaapi
--disable-hwaccel=mpeg2_dxva2
Without the space these statements were considered to be one giant statement which caused configure to ignore it.

 .../recipes-multimedia/libav/libav_0.7.4.bbappend  |   25 ++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-multimedia/libav/libav_0.7.4.bbappend
meta-arago-distro/recipes-multimedia/libav/libav_0.7.4.bbappend new file +25 -0
new file mode 100644
index 0000000..525b546
@@ -0,0 +1,25 @@
+PR_append = "-arago0"
+
+# Disable features that have potential commercial licensing restrictions
+EXTRA_OECONF += "\
+    --disable-encoder=libmp3lame \
+    --disable-decoder=mp3 \
+    --disable-decoder=mp3adu \
+    --disable-decoder=mp3adufloat \
+    --disable-decoder=mp3float \
+    --disable-decoder=mp3on4 \
+    --disable-decoder=mp3on4float \
+    --disable-muxer=mp3 \
+    --disable-demuxer=mp3 \
+    --disable-bsf=mp3_header_decompress \
+    --disable-bsf=mp3_header_compress   \
+                                 \
+    --disable-encoder=mpeg2video \
+    --disable-decoder=mpeg2video \
+    --disable-hwaccel=mpeg2_vaapi \
+    --disable-hwaccel=mpeg2_dxva2 \
+    --disable-muxer=mpeg2dvd \
+    --disable-muxer=mpeg2svcd \
+    --disable-muxer=mpeg2video \
+    --disable-muxer=mpeg2vob \
+"
Signature · 1 line
1.7.0.4