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
4ad888b9
Commit
4ad888b9
authored
Aug 23, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove per-ID destination since it is not actually used/usable
parent
8b9537f7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+3
-8
modules/stream_out/rtp.h
modules/stream_out/rtp.h
+0
-1
No files found.
modules/stream_out/rtp.c
View file @
4ad888b9
...
@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
free
(
val2
.
psz_string
);
free
(
val2
.
psz_string
);
}
}
if
(
!
p_sys
->
psz_destination
||
*
p_sys
->
psz_destination
==
'\0'
)
if
(
p_sys
->
psz_destination
==
NULL
)
{
{
if
(
!
b_rtsp
)
if
(
!
b_rtsp
)
{
{
...
@@ -240,7 +240,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -240,7 +240,6 @@ static int Open( vlc_object_t *p_this )
free
(
p_sys
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
p_sys
->
psz_destination
=
NULL
;
}
}
else
if
(
p_sys
->
i_port
<=
0
)
else
if
(
p_sys
->
i_port
<=
0
)
{
{
...
@@ -308,7 +307,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -308,7 +307,7 @@ static int Open( vlc_object_t *p_this )
free
(
p_sys
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
else
if
(
!
p_sys
->
psz_destination
||
*
p_sys
->
psz_destination
==
'\0'
)
else
if
(
p_sys
->
psz_destination
==
NULL
)
{
{
msg_Err
(
p_stream
,
"RTP needs a destination when muxing"
);
msg_Err
(
p_stream
,
"RTP needs a destination when muxing"
);
free
(
p_sys
);
free
(
p_sys
);
...
@@ -546,7 +545,6 @@ static void Close( vlc_object_t * p_this )
...
@@ -546,7 +545,6 @@ static void Close( vlc_object_t * p_this )
#endif
#endif
free
(
p_sys
->
psz_sdp_file
);
free
(
p_sys
->
psz_sdp_file
);
}
}
if
(
p_sys
->
psz_destination
)
free
(
p_sys
->
psz_destination
);
free
(
p_sys
->
psz_destination
);
free
(
p_sys
);
free
(
p_sys
);
}
}
...
@@ -873,7 +871,6 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -873,7 +871,6 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
id
->
p_input
=
NULL
;
id
->
p_input
=
NULL
;
id
->
psz_rtpmap
=
NULL
;
id
->
psz_rtpmap
=
NULL
;
id
->
psz_fmtp
=
NULL
;
id
->
psz_fmtp
=
NULL
;
id
->
psz_destination
=
p_sys
->
psz_destination
?
strdup
(
p_sys
->
psz_destination
)
:
NULL
;
id
->
i_port
=
i_port
;
id
->
i_port
=
i_port
;
id
->
p_rtsp_url
=
NULL
;
id
->
p_rtsp_url
=
NULL
;
...
@@ -1158,8 +1155,6 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
...
@@ -1158,8 +1155,6 @@ static int Del( sout_stream_t *p_stream, sout_stream_id_t *id )
{
{
free
(
id
->
psz_fmtp
);
free
(
id
->
psz_fmtp
);
}
}
if
(
id
->
psz_destination
)
free
(
id
->
psz_destination
);
sout_AccessOutDelete
(
id
->
p_access
);
sout_AccessOutDelete
(
id
->
p_access
);
}
}
else
if
(
id
->
p_input
)
else
if
(
id
->
p_input
)
...
...
modules/stream_out/rtp.h
View file @
4ad888b9
...
@@ -51,7 +51,6 @@ struct sout_stream_id_t
...
@@ -51,7 +51,6 @@ struct sout_stream_id_t
int
i_clock_rate
;
int
i_clock_rate
;
char
*
psz_rtpmap
;
char
*
psz_rtpmap
;
char
*
psz_fmtp
;
char
*
psz_fmtp
;
char
*
psz_destination
;
int
i_port
;
int
i_port
;
int
i_cat
;
int
i_cat
;
int
i_bitrate
;
int
i_bitrate
;
...
...
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