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
01ff226b
Commit
01ff226b
authored
Apr 16, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Privatize a variable
parent
03d82d1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
modules/access/rtp/input.c
modules/access/rtp/input.c
+3
-2
modules/access/rtp/rtp.c
modules/access/rtp/rtp.c
+0
-1
modules/access/rtp/rtp.h
modules/access/rtp/rtp.h
+0
-1
No files found.
modules/access/rtp/input.c
View file @
01ff226b
...
...
@@ -164,6 +164,7 @@ void *rtp_thread (void *data)
{
demux_t
*
demux
=
data
;
demux_sys_t
*
p_sys
=
demux
->
p_sys
;
bool
autodetect
=
true
;
do
{
...
...
@@ -174,7 +175,7 @@ void *rtp_thread (void *data)
p_sys
->
dead
=
true
;
/* Fatal error: abort */
else
{
if
(
p_sys
->
autodetect
)
if
(
autodetect
)
{
/* Autodetect payload type, _before_ rtp_queue() */
if
(
rtp_autodetect
(
demux
,
p_sys
->
session
,
block
))
{
...
...
@@ -182,7 +183,7 @@ void *rtp_thread (void *data)
block_Release
(
block
);
continue
;
}
p_sys
->
autodetect
=
false
;
autodetect
=
false
;
}
rtp_queue
(
demux
,
p_sys
->
session
,
block
);
}
...
...
modules/access/rtp/rtp.c
View file @
01ff226b
...
...
@@ -244,7 +244,6 @@ static int Open (vlc_object_t *obj)
p_sys
->
timeout
=
var_CreateGetInteger
(
obj
,
"rtp-timeout"
);
p_sys
->
max_dropout
=
var_CreateGetInteger
(
obj
,
"rtp-max-dropout"
);
p_sys
->
max_misorder
=
var_CreateGetInteger
(
obj
,
"rtp-max-misorder"
);
p_sys
->
autodetect
=
true
;
p_sys
->
framed_rtp
=
(
tp
==
IPPROTO_TCP
);
p_sys
->
dead
=
false
;
...
...
modules/access/rtp/rtp.h
View file @
01ff226b
...
...
@@ -66,7 +66,6 @@ struct demux_sys_t
uint16_t
max_dropout
;
/**< Max packet forward misordering */
uint16_t
max_misorder
;
/**< Max packet backward misordering */
uint8_t
max_src
;
/**< Max simultaneous RTP sources */
bool
autodetect
;
/**< Payload format autodetection */
bool
framed_rtp
;
/**< Framed RTP packets over TCP */
bool
dead
;
/**< End of stream */
};
...
...
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