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
d17a6f2c
Commit
d17a6f2c
authored
Jul 03, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RTP/MPA: the standard frequency is 90kHz (MPEG PCR), oops
parent
d8df8ef3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
modules/demux/rtp.c
modules/demux/rtp.c
+1
-1
modules/misc/rtsp.c
modules/misc/rtsp.c
+1
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+1
-0
No files found.
modules/demux/rtp.c
View file @
d17a6f2c
...
...
@@ -674,7 +674,7 @@ static int Demux (demux_t *demux)
msg_Dbg
(
demux
,
"detected MPEG Audio"
);
pt
.
init
=
mpa_init
;
pt
.
decode
=
mpa_decode
;
pt
.
frequency
=
441
00
;
pt
.
frequency
=
900
00
;
break
;
case
32
:
...
...
modules/misc/rtsp.c
View file @
d17a6f2c
...
...
@@ -524,7 +524,7 @@ static int MediaAddES( vod_t *p_vod, vod_media_t *p_media, es_format_t *p_fmt )
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'a'
):
case
VLC_FOURCC
(
'm'
,
'p'
,
'3'
,
' '
):
p_es
->
i_payload_type
=
14
;
asprintf
(
&
p_es
->
psz_rtpmap
,
"MPA/%d"
,
p_fmt
->
audio
.
i_rate
);
p_es
->
psz_rtpmap
=
strdup
(
"MPA/90000"
);
break
;
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
):
p_es
->
i_payload_type
=
32
;
...
...
modules/stream_out/rtp.c
View file @
d17a6f2c
...
...
@@ -1055,6 +1055,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
case
VLC_FOURCC
(
'm'
,
'p'
,
'3'
,
' '
):
id
->
i_payload_type
=
14
;
id
->
psz_enc
=
"MPA"
;
id
->
i_clock_rate
=
90000
;
/* not 44100 */
id
->
pf_packetize
=
rtp_packetize_mpa
;
break
;
case
VLC_FOURCC
(
'm'
,
'p'
,
'g'
,
'v'
):
...
...
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