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
0c559f78
Commit
0c559f78
authored
Oct 26, 2016
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: Return stream format information from parser
parent
4df6605d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
hevc_parser.c
libavcodec/hevc_parser.c
+8
-0
No files found.
libavcodec/hevc_parser.c
View file @
0c559f78
...
...
@@ -312,6 +312,14 @@ static inline int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf,
ps
->
vps
=
(
HEVCVPS
*
)
ps
->
vps_list
[
ps
->
sps
->
vps_id
]
->
data
;
}
s
->
coded_width
=
ps
->
sps
->
width
;
s
->
coded_height
=
ps
->
sps
->
height
;
s
->
width
=
ps
->
sps
->
output_width
;
s
->
height
=
ps
->
sps
->
output_height
;
s
->
format
=
ps
->
sps
->
pix_fmt
;
avctx
->
profile
=
ps
->
sps
->
ptl
.
general_ptl
.
profile_idc
;
avctx
->
level
=
ps
->
sps
->
ptl
.
general_ptl
.
level_idc
;
if
(
!
sh
->
first_slice_in_pic_flag
)
{
int
slice_address_length
;
...
...
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