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
843c24a4
Commit
843c24a4
authored
Jan 28, 2020
by
OvchinnikovDmitrii
Committed by
Mark Thompson
Feb 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec/amfenc_hevc.c: Fix constant QP settings for I, P
parent
f0287e12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
amfenc_hevc.c
libavcodec/amfenc_hevc.c
+2
-2
No files found.
libavcodec/amfenc_hevc.c
View file @
843c24a4
...
...
@@ -254,10 +254,10 @@ static av_cold int amf_encode_init_hevc(AVCodecContext *avctx)
}
if
(
ctx
->
qp_p
!=
-
1
)
{
AMF_ASSIGN_PROPERTY_INT64
(
res
,
ctx
->
encoder
,
AMF_VIDEO_ENCODER_HEVC_QP_
I
,
ctx
->
qp_p
);
AMF_ASSIGN_PROPERTY_INT64
(
res
,
ctx
->
encoder
,
AMF_VIDEO_ENCODER_HEVC_QP_
P
,
ctx
->
qp_p
);
}
if
(
ctx
->
qp_i
!=
-
1
)
{
AMF_ASSIGN_PROPERTY_INT64
(
res
,
ctx
->
encoder
,
AMF_VIDEO_ENCODER_HEVC_QP_
P
,
ctx
->
qp_i
);
AMF_ASSIGN_PROPERTY_INT64
(
res
,
ctx
->
encoder
,
AMF_VIDEO_ENCODER_HEVC_QP_
I
,
ctx
->
qp_i
);
}
AMF_ASSIGN_PROPERTY_BOOL
(
res
,
ctx
->
encoder
,
AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_SKIP_FRAME_ENABLE
,
ctx
->
skip_frame
);
...
...
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