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
76433281
Commit
76433281
authored
Dec 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP sout: use same port as RTP input by default
parent
35be7fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+10
-3
No files found.
modules/stream_out/rtp.c
View file @
76433281
...
...
@@ -188,11 +188,11 @@ vlc_module_begin ()
add_string
(
SOUT_CFG_PREFIX
"proto"
,
"udp"
,
NULL
,
PROTO_TEXT
,
PROTO_LONGTEXT
,
false
);
change_string_list
(
ppsz_protos
,
ppsz_protocols
,
NULL
);
add_integer
(
SOUT_CFG_PREFIX
"port"
,
500
0
4
,
NULL
,
PORT_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"port"
,
5004
,
NULL
,
PORT_TEXT
,
PORT_LONGTEXT
,
true
);
add_integer
(
SOUT_CFG_PREFIX
"port-audio"
,
5000
0
,
NULL
,
PORT_AUDIO_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"port-audio"
,
0
,
NULL
,
PORT_AUDIO_TEXT
,
PORT_AUDIO_LONGTEXT
,
true
);
add_integer
(
SOUT_CFG_PREFIX
"port-video"
,
50002
,
NULL
,
PORT_VIDEO_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"port-video"
,
0
,
NULL
,
PORT_VIDEO_TEXT
,
PORT_VIDEO_LONGTEXT
,
true
);
add_integer
(
SOUT_CFG_PREFIX
"ttl"
,
-
1
,
NULL
,
TTL_TEXT
,
...
...
@@ -1623,7 +1623,14 @@ void rtp_packetize_common( sout_stream_id_t *id, block_t *out,
void
rtp_packetize_send
(
sout_stream_id_t
*
id
,
block_t
*
out
)
{
static
block_t
*
dummy
=
NULL
;
if
(
!
dummy
)
{
dummy
=
out
;
return
;
}
block_FifoPut
(
id
->
p_fifo
,
out
);
block_FifoPut
(
id
->
p_fifo
,
dummy
);
}
/**
...
...
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