Changeset 91a4847521643cd0fb8ce26f7ed022b5e2f56f81
- Timestamp:
- 07/02/08 18:17:01
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215015421 +0300
- git-parent:
[8b9b6da88e06749994e79e906faa7195c1fcae56]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215015377 +0300
- Message:
VLM: build if ENABLE_VLM rather than ENABLE_SOUT
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ref23989 |
r91a4847 |
|
| 1696 | 1696 | VLC_ADD_PLUGIN([telnet]) |
|---|
| 1697 | 1697 | ]) |
|---|
| | 1698 | AM_CONDITIONAL([ENABLE_VLM], [test "${enable_vlm}" != "no"]) |
|---|
| 1698 | 1699 | |
|---|
| 1699 | 1700 | dnl |
|---|
| r88a2f3e |
r91a4847 |
|
| 202 | 202 | $(SOURCES_libvlc_getopt) \ |
|---|
| 203 | 203 | $(SOURCES_libvlc_sout) \ |
|---|
| | 204 | $(SOURCES_libvlc_vlm) \ |
|---|
| 204 | 205 | $(NULL) |
|---|
| 205 | 206 | if HAVE_BEOS |
|---|
| … | … | |
| 232 | 233 | if ENABLE_SOUT |
|---|
| 233 | 234 | libvlccore_la_SOURCES += $(SOURCES_libvlc_sout) |
|---|
| | 235 | if ENABLE_VLM |
|---|
| | 236 | libvlccore_la_SOURCES += $(SOURCES_libvlc_vlm) |
|---|
| | 237 | endif |
|---|
| 234 | 238 | endif |
|---|
| 235 | 239 | |
|---|
| … | … | |
| 366 | 370 | |
|---|
| 367 | 371 | SOURCES_libvlc_sout = \ |
|---|
| 368 | | input/vlm.c \ |
|---|
| 369 | | input/vlmshell.c \ |
|---|
| 370 | 372 | stream_output/stream_output.c \ |
|---|
| 371 | 373 | stream_output/stream_output.h \ |
|---|
| … | … | |
| 374 | 376 | stream_output/sap.c \ |
|---|
| 375 | 377 | stream_output/sdp.c \ |
|---|
| | 378 | $(NULL) |
|---|
| | 379 | |
|---|
| | 380 | SOURCES_libvlc_vlm = \ |
|---|
| | 381 | input/vlm.c \ |
|---|
| | 382 | input/vlmshell.c \ |
|---|
| 376 | 383 | $(NULL) |
|---|
| 377 | 384 | |
|---|
| r57c3ecd |
r91a4847 |
|
| 39 | 39 | #include <vlc_vlm.h> |
|---|
| 40 | 40 | |
|---|
| 41 | | #ifdef ENABLE_VLM |
|---|
| 42 | | |
|---|
| 43 | 41 | #ifndef WIN32 |
|---|
| 44 | 42 | # include <sys/time.h> /* gettimeofday() */ |
|---|
| … | … | |
| 1139 | 1137 | return i_result; |
|---|
| 1140 | 1138 | } |
|---|
| 1141 | | |
|---|
| 1142 | | #else /* ENABLE_VLM */ |
|---|
| 1143 | | |
|---|
| 1144 | | /* We just define an empty wrapper */ |
|---|
| 1145 | | vlm_t *__vlm_New( vlc_object_t *a ) |
|---|
| 1146 | | { |
|---|
| 1147 | | msg_Err( a, "VideoLAN manager support is disabled" ); |
|---|
| 1148 | | return NULL; |
|---|
| 1149 | | } |
|---|
| 1150 | | |
|---|
| 1151 | | void vlm_Delete( vlm_t *a ) |
|---|
| 1152 | | { |
|---|
| 1153 | | (void)a; |
|---|
| 1154 | | } |
|---|
| 1155 | | |
|---|
| 1156 | | int vlm_ExecuteCommand( vlm_t *a, const char *b, vlm_message_t **c ) |
|---|
| 1157 | | { |
|---|
| 1158 | | abort(); |
|---|
| 1159 | | } |
|---|
| 1160 | | |
|---|
| 1161 | | vlm_message_t *vlm_MessageNew( const char *psz_name, |
|---|
| 1162 | | const char *psz_format, ... ) |
|---|
| 1163 | | { |
|---|
| 1164 | | (void)psz_name; (void)psz_format; |
|---|
| 1165 | | return NULL; |
|---|
| 1166 | | } |
|---|
| 1167 | | |
|---|
| 1168 | | vlm_message_t *vlm_MessageAdd( vlm_message_t *p_message, |
|---|
| 1169 | | vlm_message_t *p_child ) |
|---|
| 1170 | | { |
|---|
| 1171 | | abort(); |
|---|
| 1172 | | } |
|---|
| 1173 | | |
|---|
| 1174 | | void vlm_MessageDelete( vlm_message_t *a ) |
|---|
| 1175 | | { |
|---|
| 1176 | | (void)a; |
|---|
| 1177 | | } |
|---|
| 1178 | | |
|---|
| 1179 | | int vlm_Control( vlm_t *p_vlm, int i_query, ... ) |
|---|
| 1180 | | { |
|---|
| 1181 | | (void)p_vlm; (void)i_query; |
|---|
| 1182 | | return VLC_EGENERIC; |
|---|
| 1183 | | } |
|---|
| 1184 | | |
|---|
| 1185 | | #endif /* ENABLE_VLM */ |
|---|