Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
1a287825
Commit
1a287825
authored
May 21, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALL: s/livedotcom/live555/
parent
4c14ef78
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
43 deletions
+58
-43
configure.ac
configure.ac
+52
-37
modules/demux/Modules.am
modules/demux/Modules.am
+1
-1
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+5
-5
No files found.
configure.ac
View file @
1a287825
...
...
@@ -130,8 +130,8 @@ dnl kludge because only the debian package provides a ffmpeg-config
if test -z $with_ffmpeg_config_path; then
with_ffmpeg_config_path=${topdir}/extras/contrib/bin;
fi
if test -z $with_live
dotcom
_tree; then
with_live
dotcom
_tree=${topdir}/extras/contrib/src/live
if test -z $with_live
555
_tree; then
with_live
555
_tree=${topdir}/extras/contrib/src/live
fi
if test -z $with_goom_tree; then
with_goom_tree=${topdir}/extras/contrib/src/goom
...
...
@@ -1509,79 +1509,94 @@ dnl
AC_ARG_WITH(,[Input plugins:])
dnl live
.com
input
dnl live
555
input
dnl
AC_ARG_ENABLE(livedotcom,
[ --enable-livedotcom live.com RTSP input plugin (default disabled)])
if test "${enable_livedotcom}"
then
AC_MSG_WARN(--{en|dis}able-livedotcom is deprecated. Use --{en|dis}able-live555 instead.)
fi
if test "${enable_livedotcom}" = "yes"
then
enable_live555="yes"
fi
AC_ARG_ENABLE(live555,
[ --enable-live555 live555 RTSP input plugin (default disabled)])
if test "${enable_livedotcom}" = "yes"; then
AC_ARG_WITH(live
dotcom
-tree,
[ --with-live
dotcom
-tree=PATH live.com tree for static linking])
AC_ARG_WITH(live
555
-tree,
[ --with-live
555
-tree=PATH live.com tree for static linking])
dnl
dnl test for --with-live
dotcom
-tree
dnl test for --with-live
555
-tree
dnl
if test -z "${with_livedotcom_tree}" -a "${CXX}" != ""; then
if test "${with_livedotcom_tree}"
then
AC_MSG_WARN(--with-livedotcom-tree is deprecated. Use --with-live555-tree instead.)
with_live555_tree="${with_livedotcom_tree}"
fi
if test -z "${with_live555_tree}" -a "${CXX}" != ""; then
AC_LANG_PUSH(C++)
CPPFLAGS_save="${CPPFLAGS}"
CPPFLAGS_live
dotcom
="-I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment"
CPPFLAGS_live
555
="-I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment"
if test "${SYS}" = "solaris"; then
CPPFLAGS_live
dotcom="${CPPFLAGS_livedotcom
} -DSOLARIS"
CPPFLAGS_live
555="${CPPFLAGS_live555
} -DSOLARIS"
fi
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_live
dotcom
}"
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_live
555
}"
AC_CHECK_HEADERS(liveMedia.hh, [
VLC_ADD_CXXFLAGS([live
dotcom], [${CPPFLAGS_livedotcom
}])
VLC_ADD_CXXFLAGS([live
555], [${CPPFLAGS_live555
}])
AC_CHECK_LIB(liveMedia_pic, main, [
# We have -lliveMedia_pic, build plugins
VLC_ADD_PLUGINS([live
dotcom
])
VLC_ADD_LDFLAGS([live
dotcom
], [-lliveMedia_pic -lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic])
VLC_ADD_PLUGINS([live
555
])
VLC_ADD_LDFLAGS([live
555
], [-lliveMedia_pic -lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic])
], [
AC_CHECK_LIB(liveMedia, main, [
# We only have -lliveMedia, do builtins
VLC_ADD_BUILTINS([live
dotcom
])
VLC_ADD_LDFLAGS([live
dotcom
], [-lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment])
VLC_ADD_BUILTINS([live
555
])
VLC_ADD_LDFLAGS([live
555
], [-lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment])
])
])
if test "${SYS}" = "mingw32"; then
# add ws2_32 for closesocket, select, recv
VLC_ADD_LDFLAGS([live
dotcom
],[-lws2_32])
VLC_ADD_LDFLAGS([live
555
],[-lws2_32])
fi
])
CPPFLAGS="${CPPFLAGS_save}"
AC_LANG_POP(C++)
else
AC_MSG_CHECKING(for liveMedia/libliveMedia.a in ${with_live
dotcom
_tree})
real_live
dotcom_tree="`cd ${with_livedotcom
_tree} 2>/dev/null && pwd`"
if test -z "${real_live
dotcom
_tree}"; then
AC_MSG_CHECKING(for liveMedia/libliveMedia.a in ${with_live
555
_tree})
real_live
555_tree="`cd ${with_live555
_tree} 2>/dev/null && pwd`"
if test -z "${real_live
555
_tree}"; then
dnl The given directory can't be found
AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot cd to ${with_live
dotcom
_tree}])
AC_MSG_ERROR([cannot cd to ${with_live
555
_tree}])
fi
if test -f "${real_live
dotcom
_tree}/liveMedia/libliveMedia.a"; then
AC_MSG_RESULT(${real_live
dotcom
_tree}/liveMedia/libliveMedia.a)
if test -f "${real_live
555
_tree}/liveMedia/libliveMedia.a"; then
AC_MSG_RESULT(${real_live
555
_tree}/liveMedia/libliveMedia.a)
VLC_ADD_BUILTINS([live
dotcom
])
VLC_ADD_BUILTINS([live
555
])
if test "${SYS}" = "mingw32"; then
# add ws2_32 for closesocket, select, recv
VLC_ADD_LDFLAGS([live
dotcom
],[-lws2_32])
VLC_ADD_LDFLAGS([live
555
],[-lws2_32])
fi
VLC_ADD_LDFLAGS([live
dotcom],[-L${real_livedotcom
_tree}/liveMedia -lliveMedia])
VLC_ADD_LDFLAGS([live
dotcom],[-L${real_livedotcom
_tree}/BasicUsageEnvironment -lBasicUsageEnvironment])
VLC_ADD_LDFLAGS([live
dotcom],[-L${real_livedotcom
_tree}/groupsock -lgroupsock])
VLC_ADD_LDFLAGS([live
dotcom],[-L${real_livedotcom
_tree}/UsageEnvironment -lUsageEnvironment])
VLC_ADD_LDFLAGS([live
555],[-L${real_live55
_tree}/liveMedia -lliveMedia])
VLC_ADD_LDFLAGS([live
555],[-L${real_live555
_tree}/BasicUsageEnvironment -lBasicUsageEnvironment])
VLC_ADD_LDFLAGS([live
555],[-L${real_live555
_tree}/groupsock -lgroupsock])
VLC_ADD_LDFLAGS([live
555],[-L${real_live555
_tree}/UsageEnvironment -lUsageEnvironment])
VLC_ADD_CXXFLAGS([live
dotcom],[-I${real_livedotcom
_tree}/BasicUsageEnvironment/include])
VLC_ADD_CXXFLAGS([live
dotcom],[-I${real_livedotcom
_tree}/groupsock/include])
VLC_ADD_CXXFLAGS([live
dotcom],[-I${real_livedotcom
_tree}/liveMedia/include])
VLC_ADD_CXXFLAGS([live
dotcom],[-I${real_livedotcom
_tree}/UsageEnvironment/include ])
VLC_ADD_CXXFLAGS([live
555],[-I${real_live555
_tree}/BasicUsageEnvironment/include])
VLC_ADD_CXXFLAGS([live
555],[-I${real_live555
_tree}/groupsock/include])
VLC_ADD_CXXFLAGS([live
555],[-I${real_live555
_tree}/liveMedia/include])
VLC_ADD_CXXFLAGS([live
555],[-I${real_live555
_tree}/UsageEnvironment/include ])
if test "${SYS}" = "solaris"; then
VLC_ADD_CXXFLAGS([live
dotcom
],[-DSOLARIS])
VLC_ADD_CXXFLAGS([live
555
],[-DSOLARIS])
fi
else
dnl The given live
.com
wasn't built
dnl The given live
555
wasn't built
AC_MSG_RESULT(no)
AC_MSG_ERROR([cannot find ${real_live
dotcom_tree}/liveMedia/libliveMedia.a, make sure you compiled live.com in ${with_livedotcom
_tree}])
AC_MSG_ERROR([cannot find ${real_live
555_tree}/liveMedia/libliveMedia.a, make sure you compiled live555 in ${with_live555
_tree}])
fi
fi
fi
...
...
modules/demux/Modules.am
View file @
1a287825
...
...
@@ -8,7 +8,7 @@ SOURCES_rawdv = rawdv.c
SOURCES_au = au.c
SOURCES_wav = wav.c
SOURCES_mkv = mkv.cpp mp4/libmp4.c mp4/drms.c
SOURCES_live
dotcom = livedotcom
.cpp ../access/mms/asf.c ../access/mms/buffer.c
SOURCES_live
555 = live555
.cpp ../access/mms/asf.c ../access/mms/buffer.c
SOURCES_nsv = nsv.c
SOURCES_real = real.c
SOURCES_ts = ts.c ../mux/mpeg/csa.c
...
...
modules/demux/livedotcom.cpp
View file @
1a287825
/*****************************************************************************
* live
dotcom
.cpp : LIVE555 Streaming Media support.
* live
555
.cpp : LIVE555 Streaming Media support.
*****************************************************************************
* Copyright (C) 2003-2006 the VideoLAN team
* $Id$
...
...
@@ -76,12 +76,12 @@ static void Close( vlc_object_t * );
"used for the connection.")
vlc_module_begin
();
/// \bug [String] s,live555.com,live555
set_description
(
_
(
"RTP/RTSP/SDP demuxer (using Live555.com)"
)
);
set_description
(
_
(
"RTP/RTSP/SDP demuxer (using Live555)"
)
);
set_capability
(
"demux2"
,
50
);
set_shortname
(
"RTP/RTSP"
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"live"
);
add_shortcut
(
"livedotcom"
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
...
...
@@ -103,8 +103,8 @@ vlc_module_begin();
N_
(
"Tunnel RTSP and RTP over HTTP"
),
VLC_TRUE
);
add_integer
(
"rtsp-http-port"
,
80
,
NULL
,
N_
(
"HTTP tunnel port"
),
/// \bug [String] Missing .
N_
(
"Port to use for tunneling the RTSP/RTP over HTTP"
),
VLC_TRUE
);
N_
(
"Port to use for tunneling the RTSP/RTP over HTTP."
),
VLC_TRUE
);
#endif
add_integer
(
"rtsp-caching"
,
4
*
DEFAULT_PTS_DELAY
/
1000
,
NULL
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
VLC_TRUE
);
...
...
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