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
4bed8517
Commit
4bed8517
authored
Dec 28, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: use a simpler way to discriminate between libav and FFmpeg
parent
42bf7e20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
contrib/src/ffmpeg/rules.mak
contrib/src/ffmpeg/rules.mak
+18
-7
No files found.
contrib/src/ffmpeg/rules.mak
View file @
4bed8517
# FFmpeg
HASH
=
HEAD
#Uncomment the one you want
#USE_LIBAV ?= 1
#USE_FFMPEG ?= 1
#FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=$(HASH);sf=tgz
ifdef
USE_FFMPEG
HASH
=
HEAD
FFMPEG_SNAPURL
:=
http://git.videolan.org/?p
=
ffmpeg.git
;
a
=
snapshot
;
h
=
$(HASH)
;
sf
=
tgz
else
HASH
=
HEAD
FFMPEG_SNAPURL
:=
http://git.libav.org/?p
=
libav.git
;
a
=
snapshot
;
h
=
$(HASH)
;
sf
=
tgz
endif
FFMPEGCONF
=
\
--cc
=
"
$(CC)
"
\
...
...
@@ -18,12 +25,16 @@ FFMPEGCONF = \
--disable-avfilter
\
--disable-filters
\
--disable-bsfs
\
--disable-bzlib
--disable-bzlib
\
--disable-programs
\
--disable-avresample
ifdef
USE_FFMPEG
FFMPEGCONF
+=
\
--disable-swresample
\
--disable-iconv
endif
# Those tools are named differently in FFmpeg and Libav
# --disable-ffserver \
# --disable-ffplay \
# --disable-ffprobe
DEPS_ffmpeg
=
zlib gsm openjpeg
# Optional dependencies
...
...
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