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
29af403a
Commit
29af403a
authored
Oct 16, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* announces -> announcements (announce is a verb)
"Session Announcement Protocol"
parent
c4b9470f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+9
-9
src/stream_output/sap.c
src/stream_output/sap.c
+2
-2
No files found.
modules/services_discovery/sap.c
View file @
29af403a
...
...
@@ -77,30 +77,30 @@ static const char ipv6_scopes[] = "1456789ABCDE";
* Module descriptor
*****************************************************************************/
#define SAP_ADDR_TEXT N_( "SAP multicast address" )
#define SAP_ADDR_LONGTEXT N_( "Listen for SAP announces on another address" )
#define SAP_ADDR_LONGTEXT N_( "Listen for SAP announce
ment
s on another address" )
#define SAP_IPV4_TEXT N_( "IPv4-SAP listening" )
#define SAP_IPV4_LONGTEXT N_( \
"Set this if you want the SAP module to listen to IPv4 announces " \
"Set this if you want the SAP module to listen to IPv4 announce
ment
s " \
"on the standard address." )
#define SAP_IPV6_TEXT N_( "IPv6-SAP listening" )
#define SAP_IPV6_LONGTEXT N_( \
"Set this if you want the SAP module to listen to IPv6 announces " \
"Set this if you want the SAP module to listen to IPv6 announce
ment
s " \
"on the standard address." )
#define SAP_SCOPE_TEXT N_( "IPv6 SAP scope" )
#define SAP_SCOPE_LONGTEXT N_( \
"Sets the scope for IPv6 announces (default is 8)." )
"Sets the scope for IPv6 announce
ment
s (default is 8)." )
#define SAP_TIMEOUT_TEXT N_( "SAP timeout (seconds)" )
#define SAP_TIMEOUT_LONGTEXT N_( \
"Sets the time before SAP items get deleted if no new announce " \
"Sets the time before SAP items get deleted if no new announce
ment
" \
"is received." )
#define SAP_PARSE_TEXT N_( "Try to parse the SAP" )
#define SAP_PARSE_LONGTEXT N_( \
"When SAP can it will try to parse the SAP. If you don't select " \
"this, all announces will be parsed by the livedotcom module." )
"this, all announce
ment
s will be parsed by the livedotcom module." )
#define SAP_STRICT_TEXT N_( "SAP Strict mode" )
#define SAP_STRICT_LONGTEXT N_( \
"When this is set, the SAP parser will discard some non-compliant " \
"announces." )
"announce
ment
s." )
#define SAP_CACHE_TEXT N_("Use SAP cache")
#define SAP_CACHE_LONGTEXT N_( \
"If this option is selected, a SAP caching mechanism will be used. " \
...
...
@@ -115,7 +115,7 @@ static const char ipv6_scopes[] = "1456789ABCDE";
vlc_module_begin
();
set_shortname
(
_
(
"SAP"
));
set_description
(
_
(
"SAP announces"
)
);
set_description
(
_
(
"SAP announce
ment
s"
)
);
set_category
(
CAT_PLAYLIST
);
set_subcategory
(
SUBCAT_PLAYLIST_SD
);
...
...
@@ -334,7 +334,7 @@ static int Open( vlc_object_t *p_this )
p_view
=
playlist_ViewFind
(
p_sys
->
p_playlist
,
VIEW_CATEGORY
);
p_sys
->
p_node
=
playlist_NodeCreate
(
p_sys
->
p_playlist
,
VIEW_CATEGORY
,
_
(
"S
AP
"
),
p_view
->
p_root
);
_
(
"S
ession Announcements (SAP)
"
),
p_view
->
p_root
);
p_sys
->
p_node
->
i_flags
|=
PLAYLIST_RO_FLAG
;
p_sys
->
p_node
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
val
.
b_bool
=
VLC_TRUE
;
...
...
src/stream_output/sap.c
View file @
29af403a
...
...
@@ -272,7 +272,7 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
vlc_mutex_unlock
(
&
p_sap
->
object_lock
);
vlc_freeaddrinfo
(
res
);
msg_Err
(
p_sap
,
"Unsupported address family of size %d > %u"
,
res
->
ai_addrlen
,
sizeof
(
addr
)
);
res
->
ai_addrlen
,
(
unsigned
)
sizeof
(
addr
)
);
return
VLC_EGENERIC
;
}
...
...
@@ -530,7 +530,7 @@ static int announce_SAPAnnounceDel( sap_handler_t *p_sap,
* TODO: - address refcount
- send a SAP deletion packet */
msg_Dbg
(
p_sap
,
"%i announces remaining"
,
p_sap
->
i_sessions
);
msg_Dbg
(
p_sap
,
"%i announce
ment
s remaining"
,
p_sap
->
i_sessions
);
vlc_mutex_unlock
(
&
p_sap
->
object_lock
);
...
...
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