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
91a48475
Commit
91a48475
authored
Jul 02, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLM: build if ENABLE_VLM rather than ENABLE_SOUT
parent
8b9b6da8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
49 deletions
+10
-49
configure.ac
configure.ac
+1
-0
src/Makefile.am
src/Makefile.am
+9
-2
src/input/vlm.c
src/input/vlm.c
+0
-47
No files found.
configure.ac
View file @
91a48475
...
...
@@ -1695,6 +1695,7 @@ AS_IF([test "${enable_vlm}" != "no"], [
AC_DEFINE(ENABLE_VLM, 1, [Define if you want the VideoLAN manager support])
VLC_ADD_PLUGIN([telnet])
])
AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"])
dnl
dnl Growl notification plugin
...
...
src/Makefile.am
View file @
91a48475
...
...
@@ -201,6 +201,7 @@ EXTRA_libvlccore_la_SOURCES = \
$(SOURCES_libvlc_dirent)
\
$(SOURCES_libvlc_getopt)
\
$(SOURCES_libvlc_sout)
\
$(SOURCES_libvlc_vlm)
\
$(NULL)
if
HAVE_BEOS
libvlccore_la_SOURCES
+=
$(SOURCES_libvlc_beos)
...
...
@@ -231,6 +232,9 @@ libvlccore_la_SOURCES += $(SOURCES_libvlc_getopt)
endif
if
ENABLE_SOUT
libvlccore_la_SOURCES
+=
$(SOURCES_libvlc_sout)
if
ENABLE_VLM
libvlccore_la_SOURCES
+=
$(SOURCES_libvlc_vlm)
endif
endif
SOURCES_libvlc_beos
=
\
...
...
@@ -365,8 +369,6 @@ SOURCES_libvlc_common = \
$(NULL)
SOURCES_libvlc_sout
=
\
input/vlm.c
\
input/vlmshell.c
\
stream_output/stream_output.c
\
stream_output/stream_output.h
\
stream_output/announce.c
\
...
...
@@ -375,6 +377,11 @@ SOURCES_libvlc_sout = \
stream_output/sdp.c
\
$(NULL)
SOURCES_libvlc_vlm
=
\
input/vlm.c
\
input/vlmshell.c
\
$(NULL)
SOURCES_libvlc
=
\
$(SOURCES_libvlc_common)
\
$(OPT_SOURCES_libvlc_beos)
\
...
...
src/input/vlm.c
View file @
91a48475
...
...
@@ -38,8 +38,6 @@
#include <vlc_vlm.h>
#ifdef ENABLE_VLM
#ifndef WIN32
# include <sys/time.h>
/* gettimeofday() */
#endif
...
...
@@ -1138,48 +1136,3 @@ int vlm_Control( vlm_t *p_vlm, int i_query, ... )
return
i_result
;
}
#else
/* ENABLE_VLM */
/* We just define an empty wrapper */
vlm_t
*
__vlm_New
(
vlc_object_t
*
a
)
{
msg_Err
(
a
,
"VideoLAN manager support is disabled"
);
return
NULL
;
}
void
vlm_Delete
(
vlm_t
*
a
)
{
(
void
)
a
;
}
int
vlm_ExecuteCommand
(
vlm_t
*
a
,
const
char
*
b
,
vlm_message_t
**
c
)
{
abort
();
}
vlm_message_t
*
vlm_MessageNew
(
const
char
*
psz_name
,
const
char
*
psz_format
,
...
)
{
(
void
)
psz_name
;
(
void
)
psz_format
;
return
NULL
;
}
vlm_message_t
*
vlm_MessageAdd
(
vlm_message_t
*
p_message
,
vlm_message_t
*
p_child
)
{
abort
();
}
void
vlm_MessageDelete
(
vlm_message_t
*
a
)
{
(
void
)
a
;
}
int
vlm_Control
(
vlm_t
*
p_vlm
,
int
i_query
,
...
)
{
(
void
)
p_vlm
;
(
void
)
i_query
;
return
VLC_EGENERIC
;
}
#endif
/* ENABLE_VLM */
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