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
5c8acc49
Commit
5c8acc49
authored
Jul 27, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put correct owner address in SAP-generated SDP
parent
0f55beac
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
133 additions
and
151 deletions
+133
-151
include/stream_output.h
include/stream_output.h
+1
-4
include/vlc_symbols.h
include/vlc_symbols.h
+1
-1
modules/stream_out/standard.c
modules/stream_out/standard.c
+0
-2
src/stream_output/announce.c
src/stream_output/announce.c
+4
-8
src/stream_output/sap.c
src/stream_output/sap.c
+127
-136
No files found.
include/stream_output.h
View file @
5c8acc49
...
...
@@ -257,9 +257,6 @@ struct session_descriptor_t
struct
announce_method_t
{
int
i_type
;
/* For SAP */
char
*
psz_address
;
/* If we use a custom address */
};
...
...
@@ -291,7 +288,7 @@ struct sap_handler_t
int
i_current_session
;
int
(
*
pf_add
)
(
sap_handler_t
*
,
session_descriptor_t
*
,
announce_method_t
*
);
int
(
*
pf_add
)
(
sap_handler_t
*
,
session_descriptor_t
*
);
int
(
*
pf_del
)
(
sap_handler_t
*
,
session_descriptor_t
*
);
/* private data, not in p_sys as there is one kind of sap_handler_t */
...
...
include/vlc_symbols.h
View file @
5c8acc49
...
...
@@ -92,7 +92,7 @@ struct module_symbols_t
int
(
*
__net_OpenTCP_inner
)
(
vlc_object_t
*
p_this
,
const
char
*
psz_host
,
int
i_port
);
int
*
(
*
__net_ListenTCP_inner
)
(
vlc_object_t
*
,
const
char
*
,
int
);
int
(
*
__net_Accept_inner
)
(
vlc_object_t
*
,
int
*
,
mtime_t
);
int
(
*
__net_OpenUDP_inner
)
(
vlc_object_t
*
p_this
,
c
har
*
psz_bind
,
int
i_bind
,
char
*
psz_server
,
int
i_server
);
int
(
*
__net_OpenUDP_inner
)
(
vlc_object_t
*
p_this
,
c
onst
char
*
psz_bind
,
int
i_bind
,
const
char
*
psz_server
,
int
i_server
);
void
(
*
net_Close_inner
)
(
int
fd
);
int
(
*
__net_Read_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
,
vlc_bool_t
b_retry
);
int
(
*
__net_ReadNonBlock_inner
)
(
vlc_object_t
*
p_this
,
int
fd
,
v_socket_t
*
,
uint8_t
*
p_data
,
int
i_data
,
mtime_t
i_wait
);
...
...
modules/stream_out/standard.c
View file @
5c8acc49
...
...
@@ -361,8 +361,6 @@ static int Open( vlc_object_t *p_this )
}
vlc_UrlClean
(
&
url
);
/* FIXME: Free p_method */
if
(
p_method
->
psz_address
)
free
(
p_method
->
psz_address
);
free
(
p_method
);
}
...
...
src/stream_output/announce.c
View file @
5c8acc49
...
...
@@ -199,14 +199,10 @@ announce_method_t * sout_AnnounceMethodCreate( int i_type )
announce_method_t
*
p_method
;
p_method
=
(
announce_method_t
*
)
malloc
(
sizeof
(
announce_method_t
)
);
if
(
p_method
==
NULL
)
return
NULL
;
if
(
p_method
)
{
p_method
->
i_type
=
i_type
;
if
(
i_type
==
METHOD_TYPE_SAP
)
/* Default value */
p_method
->
psz_address
=
NULL
;
}
p_method
->
i_type
=
i_type
;
return
p_method
;
}
...
...
@@ -286,7 +282,7 @@ int announce_Register( announce_handler_t *p_announce,
}
/* this will set p_session->p_sap for later deletion */
msg_Dbg
(
p_announce
,
"adding SAP session"
);
p_announce
->
p_sap
->
pf_add
(
p_announce
->
p_sap
,
p_session
,
p_method
);
p_announce
->
p_sap
->
pf_add
(
p_announce
->
p_sap
,
p_session
);
}
else
if
(
p_method
->
i_type
==
METHOD_TYPE_SLP
)
{
...
...
src/stream_output/sap.c
View file @
5c8acc49
This diff is collapsed.
Click to expand it.
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