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
0e07b767
Commit
0e07b767
authored
May 27, 2019
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libdav1d: export level from the Sequence Header
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
293489d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
libdav1d.c
libavcodec/libdav1d.c
+2
-0
No files found.
libavcodec/libdav1d.c
View file @
0e07b767
...
...
@@ -223,6 +223,8 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
frame
->
linesize
[
2
]
=
p
->
stride
[
1
];
c
->
profile
=
p
->
seq_hdr
->
profile
;
c
->
level
=
((
p
->
seq_hdr
->
operating_points
[
0
].
major_level
-
2
)
<<
2
)
|
p
->
seq_hdr
->
operating_points
[
0
].
minor_level
;
frame
->
format
=
c
->
pix_fmt
=
pix_fmt
[
p
->
p
.
layout
][
p
->
seq_hdr
->
hbd
];
frame
->
width
=
p
->
p
.
w
;
frame
->
height
=
p
->
p
.
h
;
...
...
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