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
92fbd7cb
Commit
92fbd7cb
authored
Feb 22, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* renamed sap module from "SAP interface" to "SAP announces"
parent
63e019d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/services_discovery/sap.c
modules/services_discovery/sap.c
+6
-6
No files found.
modules/services_discovery/sap.c
View file @
92fbd7cb
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
static
void
CloseDemux
(
vlc_object_t
*
);
static
void
CloseDemux
(
vlc_object_t
*
);
vlc_module_begin
();
vlc_module_begin
();
set_description
(
_
(
"SAP
interface
"
)
);
set_description
(
_
(
"SAP
announces
"
)
);
set_category
(
CAT_PLAYLIST
);
set_category
(
CAT_PLAYLIST
);
set_subcategory
(
SUBCAT_PLAYLIST_SD
);
set_subcategory
(
SUBCAT_PLAYLIST_SD
);
...
@@ -607,7 +607,7 @@ static int Demux( demux_t *p_demux )
...
@@ -607,7 +607,7 @@ static int Demux( demux_t *p_demux )
PLAYLIST_APPEND
,
PLAYLIST_END
);
PLAYLIST_APPEND
,
PLAYLIST_END
);
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
if
(
p_sdp
)
FreeSDP
(
p_sdp
);
if
(
p_sdp
)
FreeSDP
(
p_sdp
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
@@ -638,7 +638,7 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
...
@@ -638,7 +638,7 @@ static int ParseSAP( services_discovery_t *p_sd, uint8_t *p_buffer, int i_read )
/* First, check the sap announce is correct */
/* First, check the sap announce is correct */
i_version
=
p_buffer
[
0
]
>>
5
;
i_version
=
p_buffer
[
0
]
>>
5
;
msg_Dbg
(
p_sd
,
"."
);
if
(
i_version
!=
1
)
if
(
i_version
!=
1
)
{
{
msg_Dbg
(
p_sd
,
"strange sap version %d found"
,
i_version
);
msg_Dbg
(
p_sd
,
"strange sap version %d found"
,
i_version
);
...
@@ -983,7 +983,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
...
@@ -983,7 +983,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
}
}
else
else
{
{
msg_Dbg
(
p_obj
,
"incorrect c field
"
);
msg_Dbg
(
p_obj
,
"incorrect c field
, %s"
,
p_sdp
->
psz_connection
);
}
}
psz_uri
=
strdup
(
psz_parse
);
psz_uri
=
strdup
(
psz_parse
);
...
@@ -1053,7 +1053,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
...
@@ -1053,7 +1053,7 @@ static int ParseConnection( vlc_object_t *p_obj, sdp_t *p_sdp )
}
}
else
else
{
{
msg_Dbg
(
p_obj
,
"incorrect m field
"
);
msg_Dbg
(
p_obj
,
"incorrect m field
, %s"
,
p_sdp
->
psz_media
);
p_sdp
->
i_media_type
=
33
;
p_sdp
->
i_media_type
=
33
;
psz_proto
=
strdup
(
psz_parse
);
psz_proto
=
strdup
(
psz_parse
);
}
}
...
@@ -1100,7 +1100,7 @@ static sdp_t * ParseSDP( vlc_object_t *p_obj, char* psz_sdp )
...
@@ -1100,7 +1100,7 @@ static sdp_t * ParseSDP( vlc_object_t *p_obj, char* psz_sdp )
sdp_t
*
p_sdp
;
sdp_t
*
p_sdp
;
vlc_bool_t
b_invalid
=
VLC_FALSE
;
vlc_bool_t
b_invalid
=
VLC_FALSE
;
vlc_bool_t
b_end
=
VLC_FALSE
;
vlc_bool_t
b_end
=
VLC_FALSE
;
msg_Dbg
(
p_obj
,
"%s"
,
psz_sdp
);
if
(
psz_sdp
==
NULL
)
if
(
psz_sdp
==
NULL
)
{
{
return
NULL
;
return
NULL
;
...
...
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