Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
eb3d8772
Commit
eb3d8772
authored
Jan 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP: fix the conflicting audio and video port error handling
parent
9d88a68c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+3
-4
No files found.
modules/stream_out/rtp.c
View file @
eb3d8772
...
...
@@ -354,11 +354,10 @@ static int Open( vlc_object_t *p_this )
p_sys
->
psz_sdp_file
=
NULL
;
if
(
p_sys
->
i_port_audio
==
p_sys
->
i_port_vide
o
)
if
(
p_sys
->
i_port_audio
&&
p_sys
->
i_port_video
==
p_sys
->
i_port_audi
o
)
{
msg_Err
(
p_stream
,
"audio and video port cannot be the same"
);
p_sys
->
i_port_audio
=
0
;
p_sys
->
i_port_video
=
0
;
msg_Err
(
p_stream
,
"audio and video RTP port must be distinct"
);
return
VLC_EGENERIC
;
}
for
(
p_cfg
=
p_stream
->
p_cfg
;
p_cfg
!=
NULL
;
p_cfg
=
p_cfg
->
p_next
)
...
...
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