Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
03efb5df
Commit
03efb5df
authored
Jan 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix VLM compilation with --disable-vlm - fixes #1431
parent
95ee8030
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
include/vlc_vlm.h
include/vlc_vlm.h
+4
-4
src/input/vlm.c
src/input/vlm.c
+14
-6
No files found.
include/vlc_vlm.h
View file @
03efb5df
...
...
@@ -29,10 +29,6 @@
#ifndef _VLC_VLM_H
#define _VLC_VLM_H 1
#ifdef __cpluplus
extern
"C"
{
#endif
#include <vlc_input.h>
/* VLM media */
...
...
@@ -151,6 +147,10 @@ struct vlm_message_t
};
#ifdef __cpluplus
extern
"C"
{
#endif
#define vlm_New( a ) __vlm_New( VLC_OBJECT(a) )
VLC_EXPORT
(
vlm_t
*
,
__vlm_New
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
vlm_Delete
,
(
vlm_t
*
)
);
...
...
src/input/vlm.c
View file @
03efb5df
...
...
@@ -36,6 +36,8 @@
#include <ctype.h>
/* tolower() */
#include <assert.h>
#include <vlc_vlm.h>
#ifdef ENABLE_VLM
#ifndef WIN32
...
...
@@ -50,7 +52,6 @@
#include <vlc_input.h>
#include "input_internal.h"
#include <vlc_stream.h>
#include <vlc_vlm.h>
#include "vlm_internal.h"
#include <vlc_vod.h>
#include <vlc_charset.h>
...
...
@@ -2926,31 +2927,38 @@ 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
,
char
*
b
,
vlm_message_t
**
c
)
int
vlm_ExecuteCommand
(
vlm_t
*
a
,
const
char
*
b
,
vlm_message_t
**
c
)
{
return
-
1
;
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
)
{
return
NULL
;
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
;
}
...
...
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