Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
429
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
21239900
Commit
21239900
authored
4 months ago
by
François Cartegnie
Committed by
Steve Lhomme
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
demux: mp4: add missing values for object_type_indication
parent
a1aaa257
No related branches found
No related tags found
1 merge request
!6116
demux: mp4: add missing values for object_type_indication
Pipeline
#519785
passed with stage
Stage:
in 13 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/demux/mp4/mpeg4.h
+12
-0
12 additions, 0 deletions
modules/demux/mp4/mpeg4.h
with
12 additions
and
0 deletions
modules/demux/mp4/mpeg4.h
+
12
−
0
View file @
21239900
...
...
@@ -38,6 +38,12 @@ static inline bool MPEG4_Codec_By_ObjectType(uint8_t oti,
case
0x21
:
/* H.264 */
*
pi_codec
=
VLC_CODEC_H264
;
break
;
case
0x22
:
/* H.265 */
*
pi_codec
=
VLC_CODEC_HEVC
;
break
;
case
0x23
:
/* H.266 */
*
pi_codec
=
VLC_CODEC_VVC
;
break
;
case
0x40
:
case
0x41
:
*
pi_codec
=
VLC_CODEC_MP4A
;
...
...
@@ -104,9 +110,15 @@ static inline bool MPEG4_Codec_By_ObjectType(uint8_t oti,
case
0xad
:
*
pi_codec
=
VLC_CODEC_OPUS
;
break
;
case
0xB1
:
*
pi_codec
=
VLC_CODEC_VP9
;
break
;
case
0xDD
:
*
pi_codec
=
VLC_CODEC_VORBIS
;
break
;
case
0xE1
:
*
pi_codec
=
VLC_CODEC_QCELP
;
break
;
default:
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment