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
e5bd9ad9
Commit
e5bd9ad9
authored
Mar 06, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix references
parent
14442b97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/access/udp.c
modules/access/udp.c
+5
-6
No files found.
modules/access/udp.c
View file @
e5bd9ad9
...
@@ -385,8 +385,7 @@ static block_t *BlockUDP( access_t *p_access )
...
@@ -385,8 +385,7 @@ static block_t *BlockUDP( access_t *p_access )
}
}
/*****************************************************************************
/*****************************************************************************
* BlockTCP: Framed RTP/AVP packet reception for COMEDIA
* BlockTCP: Framed RTP/AVP packet reception for COMEDIA (see RFC4571)
* Still an I-D (draft-ietf-avt-rtp-framing-contrans-06) - subject to change.
*****************************************************************************/
*****************************************************************************/
static
block_t
*
BlockTCP
(
access_t
*
p_access
)
static
block_t
*
BlockTCP
(
access_t
*
p_access
)
{
{
...
@@ -573,7 +572,7 @@ static block_t *BlockParseRTP( access_t *p_access, block_t *p_block )
...
@@ -573,7 +572,7 @@ static block_t *BlockParseRTP( access_t *p_access, block_t *p_block )
p_block
->
i_pts
=
mdate
();
p_block
->
i_pts
=
mdate
();
p_block
->
i_dts
=
(
mtime_t
)
GetWBE
(
p_block
->
p_buffer
+
2
);
p_block
->
i_dts
=
(
mtime_t
)
GetWBE
(
p_block
->
p_buffer
+
2
);
/* FIXME: use
pt
map */
/* FIXME: use
rtp
map */
switch
(
i_payload_type
)
switch
(
i_payload_type
)
{
{
case
14
:
// MPA: MPEG Audio (RFC2250, §3.4)
case
14
:
// MPA: MPEG Audio (RFC2250, §3.4)
...
@@ -735,17 +734,17 @@ static block_t *BlockChoose( access_t *p_access )
...
@@ -735,17 +734,17 @@ static block_t *BlockChoose( access_t *p_access )
switch
(
i_payload_type
)
switch
(
i_payload_type
)
{
{
case
33
:
case
33
:
msg_Dbg
(
p_access
,
"detected TS over RTP"
);
msg_Dbg
(
p_access
,
"detected
MPEG2
TS over RTP"
);
p_access
->
psz_demux
=
strdup
(
"ts"
);
p_access
->
psz_demux
=
strdup
(
"ts"
);
break
;
break
;
case
14
:
case
14
:
msg_Dbg
(
p_access
,
"detected MPEG
a
udio over RTP"
);
msg_Dbg
(
p_access
,
"detected MPEG
A
udio over RTP"
);
p_access
->
psz_demux
=
strdup
(
"mpga"
);
p_access
->
psz_demux
=
strdup
(
"mpga"
);
break
;
break
;
case
32
:
case
32
:
msg_Dbg
(
p_access
,
"detected MPEG
v
ideo over RTP"
);
msg_Dbg
(
p_access
,
"detected MPEG
V
ideo over RTP"
);
p_access
->
psz_demux
=
strdup
(
"mpgv"
);
p_access
->
psz_demux
=
strdup
(
"mpgv"
);
break
;
break
;
...
...
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