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
1b283ecd
Commit
1b283ecd
authored
Apr 06, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MP4: more fourcc replacements
parent
00837ad6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+9
-6
No files found.
modules/demux/mp4/mp4.c
View file @
1b283ecd
...
...
@@ -1988,11 +1988,14 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
p_track
->
fmt
.
i_extra
);
}
break
;
case
VLC_FOURCC
(
's'
,
'a'
,
'm'
,
'r'
):
case
VLC_CODEC_AMR_NB
:
p_track
->
fmt
.
audio
.
i_rate
=
8000
;
case
VLC_CODEC_AMR_WB
:
p_track
->
fmt
.
audio
.
i_rate
=
16000
;
case
VLC_FOURCC
(
'Q'
,
'D'
,
'M'
,
'C'
):
case
VLC_
FOURCC
(
'Q'
,
'D'
,
'M'
,
'2'
)
:
case
VLC_
FOURCC
(
'a'
,
'l'
,
'a'
,
'c'
)
:
case
VLC_
CODEC_QDM2
:
case
VLC_
CODEC_ALAC
:
p_track
->
fmt
.
i_extra
=
p_sample
->
data
.
p_sample_soun
->
i_qt_description
;
if
(
p_track
->
fmt
.
i_extra
>
0
)
...
...
@@ -2026,9 +2029,9 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
break
;
}
case
VLC_
FOURCC
(
'm'
,
's'
,
0x00
,
0x02
)
:
case
VLC_
FOURCC
(
'm'
,
's'
,
0x00
,
0x11
)
:
case
VLC_
FOURCC
(
'Q'
,
'c'
,
'l'
,
'p'
)
:
case
VLC_
CODEC_ADPCM_MS
:
case
VLC_
CODEC_ADPCM_IMA_WAV
:
case
VLC_
CODEC_QCELP
:
p_track
->
fmt
.
audio
.
i_blockalign
=
p_sample
->
data
.
p_sample_soun
->
i_bytes_per_frame
;
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