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
44bcb636
Commit
44bcb636
authored
Sep 16, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/libvpxenc: Avoid vp8 transparency encoding with auto-alt-ref.
Fixes ticket #5815.
parent
3ea28f3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
libvpxenc.c
libavcodec/libvpxenc.c
+5
-0
No files found.
libavcodec/libvpxenc.c
View file @
44bcb636
...
...
@@ -631,6 +631,11 @@ FF_ENABLE_DEPRECATION_WARNINGS
if
(
ctx
->
tune
>=
0
)
codecctl_int
(
avctx
,
VP8E_SET_TUNING
,
ctx
->
tune
);
if
(
ctx
->
auto_alt_ref
&&
ctx
->
is_alpha
&&
avctx
->
codec_id
==
AV_CODEC_ID_VP8
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Transparency encoding with auto_alt_ref does not work
\n
"
);
return
AVERROR
(
EINVAL
);
}
if
(
CONFIG_LIBVPX_VP8_ENCODER
&&
avctx
->
codec_id
==
AV_CODEC_ID_VP8
)
{
#if FF_API_PRIVATE_OPT
FF_DISABLE_DEPRECATION_WARNINGS
...
...
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