Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e2d3685a
Commit
e2d3685a
authored
Jun 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: fix ffmpeg dependencies
parent
66f52322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
contrib/src/ffmpeg/rules.mak
contrib/src/ffmpeg/rules.mak
+14
-9
No files found.
contrib/src/ffmpeg/rules.mak
View file @
e2d3685a
...
...
@@ -26,29 +26,29 @@ ifdef BUILD_ENCODERS
# TODO:
#FFMPEGCONF+= --enable-libmp3lame
#.ffmpeg: .lame
#PKGS += lame
else
FFMPEGCONF
+=
--disable-encoders
--disable-muxers
# XXX: REVISIT --enable-small ?
endif
ifdef
HAVE_CROSS_COMPILE
FFMPEGCONF
+=
--enable-cross-compile
--cross-prefix
=
$(HOST)
-
endif
# XXX: REVISIT: gsm and vpx not used by VLC so should in PKGS?
ifneq
($(filter gsm,$(PKGS)),)
#FFMPEGCONF+= --enable-libgsm
#.ffmpeg: .gsm
endif
ifneq
($(filter vpx,$(PKGS)),)
#PKGS += gsm
#FFMPEGCONF += --enable-libvpx
#.ffmpeg: .vpx
endif
#PKGS += vpx
# XXX: REVISIT
#ifndef HAVE_FPU
#FFMPEGCONF+= --disable-mpegaudio-hp
#endif
ifdef
HAVE_CROSS_COMPILE
FFMPEGCONF
+=
--enable-cross-compile
--cross-prefix
=
$(HOST)
-
endif
# ARM stuff
ifeq
($(ARCH),arm)
FFMPEGCONF
+=
--disable-runtime-cpudetect
...
...
@@ -73,6 +73,7 @@ ifeq ($(ARCH),x86_64)
FFMPEGCONF
+=
--cpu
=
core2
endif
.ffmpeg
:
.yasm
PKGS
+=
yasm
endif
# Linux
...
...
@@ -86,12 +87,16 @@ FFMPEGCONF += --target-os=mingw32 --enable-memalign-hack
FFMPEGCONF
+=
--enable-w32threads
\
--disable-bzlib
--disable-bsfs
\
--disable-decoder
=
dca
--disable-encoder
=
vorbis
ifdef
HAVE_WIN64
FFMPEGCONF
+=
--disable-dxva2
FFMPEGCONF
+=
--cpu
=
athlon64
--arch
=
x86_64
else
# !WIN64
FFMPEGCONF
+=
--enable-dxva2
.ffmpeg
:
.directx
PKGS
+=
directx
FFMPEGCONF
+=
--cpu
=
i686
--arch
=
x86
endif
else
...
...
@@ -109,7 +114,7 @@ FFMPEG_CFLAGS += --std=gnu99
# Build
PKGS
+=
libav
PKGS
+=
ffmpeg
ffmpeg-$(FFMPEG_VERSION).tar.gz
:
$(
error
FFmpeg snapshot is too old, VCS must be used!
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment