Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
16ea0e63
Commit
16ea0e63
authored
Jun 05, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: fix vp8 default to check height for 720p
also fix sub 720p defaults
parent
8e6a4513
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+2
-2
No files found.
modules/codec/avcodec/encoder.c
View file @
16ea0e63
...
...
@@ -606,7 +606,7 @@ int OpenEncoder( vlc_object_t *p_this )
if
(
!
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"keyint"
)
)
p_context
->
gop_size
=
120
;
/* seems that ffmpeg presets have 720p as divider for buffers */
if
(
p_enc
->
fmt_out
.
video
.
i_
width
>=
720
)
if
(
p_enc
->
fmt_out
.
video
.
i_
height
>=
720
)
{
/* Check that we don't overrun users qmin/qmax values */
if
(
!
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"qmin"
)
)
...
...
@@ -626,7 +626,7 @@ int OpenEncoder( vlc_object_t *p_this )
}
else
{
if
(
!
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"qmin"
)
)
{
p_context
->
mb_qmin
=
p_context
->
qmin
=
FF_QP2LAMBDA
;
p_context
->
mb_qmin
=
p_context
->
qmin
=
1
;
p_context
->
mb_lmin
=
p_context
->
lmin
=
FF_QP2LAMBDA
;
}
...
...
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