Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Verstraeten committed Aug 3, 2017
2 parents 08f699f + 741dad7 commit 820e933
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion board/common/overlay/etc/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
os_name="Kerberos.io OS"
os_short_name="kios"
os_prefix="kios"
os_version="2.4.0"
os_version="2.4.1"
1 change: 1 addition & 0 deletions board/raspberrypi/overlay/opt/vc/lib
1 change: 1 addition & 0 deletions board/raspberrypi2/overlay/opt/vc/lib
1 change: 1 addition & 0 deletions board/raspberrypi3/overlay/opt/vc/lib
1 change: 1 addition & 0 deletions configs/raspberrypi2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_SWSCALE=y
BR2_PACKAGE_FFMPEG_RPI_HW_CODECS=y
BR2_PACKAGE_PHP=y
BR2_PACKAGE_PHP_SAPI_CGI=y
BR2_PACKAGE_PHP_SAPI_CLI=y
Expand Down
1 change: 1 addition & 0 deletions configs/raspberrypi3_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_SWSCALE=y
BR2_PACKAGE_FFMPEG_RPI_HW_CODECS=y
BR2_PACKAGE_PHP=y
BR2_PACKAGE_PHP_SAPI_CGI=y
BR2_PACKAGE_PHP_SAPI_CLI=y
Expand Down
1 change: 1 addition & 0 deletions configs/raspberrypi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_NONFREE=y
BR2_PACKAGE_FFMPEG_SWSCALE=y
BR2_PACKAGE_FFMPEG_RPI_HW_CODECS=y
BR2_PACKAGE_PHP=y
BR2_PACKAGE_PHP_SAPI_CGI=y
BR2_PACKAGE_PHP_SAPI_CLI=y
Expand Down
6 changes: 6 additions & 0 deletions package/ffmpeg/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ config BR2_PACKAGE_FFMPEG_OUTDEVS
bool "Enable output devices"
default y

config BR2_PACKAGE_FFMPEG_RPI_HW_CODECS
bool "Enable rpi hardware accelerated codecs"
depends on BR2_PACKAGE_RPI_USERLAND
help
Enable HW accelerated codecs on Raspberry pi.

config BR2_PACKAGE_FFMPEG_EXTRACONF
string "Additional parameters for ./configure"
default ""
Expand Down
8 changes: 5 additions & 3 deletions package/ffmpeg/ffmpeg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ endif
FFMPEG_CONF_OPTS = \
--prefix=/usr \
--enable-static \
--disable-shared \
--enable-omx \
--enable-omx-rpi \
--disable-shared \
--enable-avfilter \
--disable-version3 \
--enable-logging \
Expand Down Expand Up @@ -480,6 +478,10 @@ else ifneq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),)
FFMPEG_CONF_OPTS += --cpu=$(BR2_GCC_TARGET_ARCH)
endif

ifeq ($(BR2_PACKAGE_FFMPEG_RPI_HW_CODECS),y)
FFMPEG_DEPENDENCIES += rpi-userland
FFMPEG_CONF_OPTS += --enable-omx --enable-omx-rpi --extra-cflags=-I../../staging/usr/include/IL/
endif

FFMPEG_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))

Expand Down

0 comments on commit 820e933

Please sign in to comment.