Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
303439bc
Commit
303439bc
authored
Sep 26, 2018
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/mpeg: Support demuxing HEVC in mpeg-ps.
parent
476a7712
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mpeg.c
libavformat/mpeg.c
+3
-0
mpeg.h
libavformat/mpeg.h
+1
-0
No files found.
libavformat/mpeg.c
View file @
303439bc
...
...
@@ -544,6 +544,9 @@ redo:
}
else
if
(
es_type
==
STREAM_TYPE_VIDEO_H264
)
{
codec_id
=
AV_CODEC_ID_H264
;
type
=
AVMEDIA_TYPE_VIDEO
;
}
else
if
(
es_type
==
STREAM_TYPE_VIDEO_HEVC
)
{
codec_id
=
AV_CODEC_ID_HEVC
;
type
=
AVMEDIA_TYPE_VIDEO
;
}
else
if
(
es_type
==
STREAM_TYPE_AUDIO_AC3
)
{
codec_id
=
AV_CODEC_ID_AC3
;
type
=
AVMEDIA_TYPE_AUDIO
;
...
...
libavformat/mpeg.h
View file @
303439bc
...
...
@@ -55,6 +55,7 @@
#define STREAM_TYPE_AUDIO_AAC 0x0f
#define STREAM_TYPE_VIDEO_MPEG4 0x10
#define STREAM_TYPE_VIDEO_H264 0x1b
#define STREAM_TYPE_VIDEO_HEVC 0x24
#define STREAM_TYPE_VIDEO_CAVS 0x42
#define STREAM_TYPE_AUDIO_AC3 0x81
...
...
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