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
fb5aad8d
Commit
fb5aad8d
authored
Nov 06, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New --enable-release config option.
parent
72baa591
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
325 additions
and
290 deletions
+325
-290
Makefile.opts.in
Makefile.opts.in
+5
-0
configure
configure
+294
-279
configure.in
configure.in
+12
-1
debian/rules
debian/rules
+1
-1
include/config.h.in
include/config.h.in
+5
-1
src/input/input.c
src/input/input.c
+7
-7
vlc.spec
vlc.spec
+1
-1
No files found.
Makefile.opts.in
View file @
fb5aad8d
...
@@ -40,6 +40,7 @@ CPROF = @CPROF@
...
@@ -40,6 +40,7 @@ CPROF = @CPROF@
GPROF
=
@GPROF@
GPROF
=
@GPROF@
OPTIMS
=
@OPTIMS@
OPTIMS
=
@OPTIMS@
TUNING
=
@TUNING@
TUNING
=
@TUNING@
RELEASE
=
@RELEASE@
#
#
# Build environment
# Build environment
...
@@ -196,6 +197,10 @@ CFLAGS += -pipe
...
@@ -196,6 +197,10 @@ CFLAGS += -pipe
CFLAGS
+=
-D_REENTRANT
CFLAGS
+=
-D_REENTRANT
CFLAGS
+=
-D_GNU_SOURCE
CFLAGS
+=
-D_GNU_SOURCE
ifeq
($(RELEASE),1)
CFLAGS
+=
-DRELEASE
endif
# flags needed for clean beos compilation
# flags needed for clean beos compilation
ifeq
($(SYS),beos)
ifeq
($(SYS),beos)
CFLAGS
+=
-Wno-multichar
-Wno-ctor-dtor-privacy
-Woverloaded-virtual
CFLAGS
+=
-Wno-multichar
-Wno-ctor-dtor-privacy
-Woverloaded-virtual
...
...
configure
View file @
fb5aad8d
This diff is collapsed.
Click to expand it.
configure.in
View file @
fb5aad8d
...
@@ -510,6 +510,15 @@ else
...
@@ -510,6 +510,15 @@ else
fi
fi
fi
fi
dnl
dnl Enable release-specific flags
dnl
AC_ARG_ENABLE(release,
[ --enable-release Activate extra optimizations (default disabled)],
[ if test x$enableval = xyes; then RELEASE=1; fi ],
[ VLC_VERSION="${VLC_VERSION}_`date +%Y-%m-%d`";
LIBDVDCSS_VERSION="${LIBDVDCSS_VERSION}_`date +%Y-%m-%d`"; ])
dnl
dnl
dnl MMX acceleration
dnl MMX acceleration
dnl
dnl
...
@@ -1100,6 +1109,7 @@ AC_SUBST(CPROF)
...
@@ -1100,6 +1109,7 @@ AC_SUBST(CPROF)
AC_SUBST(GPROF)
AC_SUBST(GPROF)
AC_SUBST(OPTIMS)
AC_SUBST(OPTIMS)
AC_SUBST(TUNING)
AC_SUBST(TUNING)
AC_SUBST(RELEASE)
AC_SUBST(NEED_GETOPT)
AC_SUBST(NEED_GETOPT)
AC_SUBST(MOC)
AC_SUBST(MOC)
AC_SUBST(WINDRES)
AC_SUBST(WINDRES)
...
@@ -1154,7 +1164,8 @@ global configuration
...
@@ -1154,7 +1164,8 @@ global configuration
system : ${SYS}
system : ${SYS}
architecture : ${ARCH}
architecture : ${ARCH}
optimizations : ${OPTIMS}
optimizations : ${OPTIMS}
tuning: : ${TUNING}"
tuning: : ${TUNING}
release: : ${RELEASE}"
if test x${HAVE_VLC} = x1
if test x${HAVE_VLC} = x1
then
then
...
...
debian/rules
View file @
fb5aad8d
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
export DH_COMPAT=3
export DH_COMPAT=3
# Compilation options
# Compilation options
export CONFIG_FLAGS="--prefix=/usr --enable-gnome --enable-gtk --enable-fb --with-ggi --with-sdl --enable-esd --enable-qt"
export CONFIG_FLAGS="--
enable-release --
prefix=/usr --enable-gnome --enable-gtk --enable-fb --with-ggi --with-sdl --enable-esd --enable-qt"
export LIBDVDCSS_FLAGS="--with-dvdcss=local-shared"
export LIBDVDCSS_FLAGS="--with-dvdcss=local-shared"
export VIDDIR="usr/share/videolan"
export VIDDIR="usr/share/videolan"
export PIXDIR="usr/share/pixmaps"
export PIXDIR="usr/share/pixmaps"
...
...
include/config.h.in
View file @
fb5aad8d
...
@@ -427,7 +427,11 @@
...
@@ -427,7 +427,11 @@
/* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
/* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
* that raising this level dramatically lengthens the compilation time. */
* that raising this level dramatically lengthens the compilation time. */
#define VPAR_OPTIM_LEVEL 1
#ifdef RELEASE
# define VPAR_OPTIM_LEVEL 2
#else
# define VPAR_OPTIM_LEVEL 1
#endif
/* Maximum number of macroblocks in a picture. */
/* Maximum number of macroblocks in a picture. */
#define MAX_MB 2048
#define MAX_MB 2048
...
...
src/input/input.c
View file @
fb5aad8d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* decoders.
* decoders.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input.c,v 1.1
49 2001/11/02 13:30:38
massiot Exp $
* $Id: input.c,v 1.1
50 2001/11/06 17:12:02
massiot Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -779,16 +779,16 @@ static void NetworkOpen( input_thread_t * p_input )
...
@@ -779,16 +779,16 @@ static void NetworkOpen( input_thread_t * p_input )
/* Found a port name or a broadcast addres */
/* Found a port name or a broadcast addres */
if
(
*
psz_port
)
if
(
*
psz_port
)
{
{
/* That's a port name */
/* That's a port name */
if
(
*
psz_port
==
':'
)
if
(
*
psz_port
==
':'
)
{
{
*
psz_port
=
'\0'
;
*
psz_port
=
'\0'
;
psz_port
++
;
psz_port
++
;
i_port
=
atoi
(
psz_port
);
i_port
=
atoi
(
psz_port
);
}
}
/* Search for '/' just after the port in case
/* Search for '/' just after the port in case
* we also have a broadcast address */
* we also have a broadcast address */
psz_broadcast
=
psz_port
;
psz_broadcast
=
psz_port
;
while
(
*
psz_broadcast
&&
*
psz_broadcast
!=
'/'
)
while
(
*
psz_broadcast
&&
*
psz_broadcast
!=
'/'
)
{
{
...
...
vlc.spec
View file @
fb5aad8d
...
@@ -104,7 +104,7 @@ install vlc-ncurses
...
@@ -104,7 +104,7 @@ install vlc-ncurses
%build
%build
export QTDIR=%{_libdir}/qt-2.3.0/
export QTDIR=%{_libdir}/qt-2.3.0/
%configure --with-dvdcss=local-shared \
%configure --
enable-release --
with-dvdcss=local-shared \
--enable-gnome --enable-gtk \
--enable-gnome --enable-gtk \
--enable-x11 --enable-qt --enable-ncurses \
--enable-x11 --enable-qt --enable-ncurses \
--enable-esd --disable-alsa \
--enable-esd --disable-alsa \
...
...
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