Skip to content
Snippets Groups Projects
Commit a2e4ce11 authored by Stepan Salenikovich's avatar Stepan Salenikovich Committed by gerrit2
Browse files

ffmpeg: fix screen sharing on GNU/Linux

ffmpeg must be configured with --enable-indev=x11grab_xcb for the
x11grab (for screen sharing) to work

Change-Id: Iec6010dd4854d7b6d043c294be4aaa6215a27851
Tuleap: #1146
parent 299abb88
Branches
Tags
No related merge requests found
...@@ -121,7 +121,7 @@ DEPS_ffmpeg = iconv zlib x264 vpx opus speex $(DEPS_vpx) ...@@ -121,7 +121,7 @@ DEPS_ffmpeg = iconv zlib x264 vpx opus speex $(DEPS_vpx)
ifdef HAVE_LINUX ifdef HAVE_LINUX
FFMPEGCONF += --target-os=linux --enable-pic FFMPEGCONF += --target-os=linux --enable-pic
ifndef HAVE_ANDROID ifndef HAVE_ANDROID
FFMPEGCONF += --enable-indev=v4l2 --enable-indev=x11grab --enable-x11grab FFMPEGCONF += --enable-indev=v4l2 --enable-indev=x11grab_xcb --enable-indev=x11grab --enable-x11grab
else else
# used to avoid Text Relocations # used to avoid Text Relocations
FFMPEGCONF += --extra-cxxflags=-fPIC --extra-cflags=-fPIC FFMPEGCONF += --extra-cxxflags=-fPIC --extra-cflags=-fPIC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment