mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
ffmpeg: add indev x11grab_xcb
This commit is contained in:
parent
da0f497cbf
commit
fdd523bab3
@ -79,6 +79,10 @@ case "$TARGET_FPU" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$DISPLAYSERVER" = "x11" ]; then
|
||||
FFMPEG_X11GRAB="--enable-indev=x11grab_xcb"
|
||||
fi
|
||||
|
||||
pre_configure_target() {
|
||||
cd $ROOT/$PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
@ -142,7 +146,6 @@ configure_target() {
|
||||
--disable-devices \
|
||||
--enable-pthreads \
|
||||
--disable-w32threads \
|
||||
--disable-x11grab \
|
||||
--enable-network \
|
||||
--disable-gnutls --enable-openssl \
|
||||
--disable-gray \
|
||||
@ -208,7 +211,8 @@ configure_target() {
|
||||
--disable-altivec \
|
||||
$FFMPEG_FPU \
|
||||
--enable-yasm \
|
||||
--disable-symver
|
||||
--disable-symver \
|
||||
$FFMPEG_X11GRAB
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user