Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
14c40f45
Commit
14c40f45
authored
Nov 01, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/x264.c: x264 now supports non-mod 16 resolutions.
parent
2a268e6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/codec/x264.c
modules/codec/x264.c
+8
-2
No files found.
modules/codec/x264.c
View file @
14c40f45
...
...
@@ -236,6 +236,7 @@ static int Open ( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
#if X264_BUILD < 37
if
(
p_enc
->
fmt_in
.
video
.
i_width
%
16
!=
0
||
p_enc
->
fmt_in
.
video
.
i_height
%
16
!=
0
)
{
...
...
@@ -253,6 +254,7 @@ static int Open ( vlc_object_t *p_this )
p_enc
->
fmt_in
.
video
.
i_width
>>
4
<<
4
,
p_enc
->
fmt_in
.
video
.
i_height
>>
4
<<
4
);
}
#endif
sout_CfgParse
(
p_enc
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_enc
->
p_cfg
);
...
...
@@ -265,8 +267,12 @@ static int Open ( vlc_object_t *p_this )
p_sys
->
i_last_ref_pts
=
0
;
x264_param_default
(
&
p_sys
->
param
);
p_sys
->
param
.
i_width
=
p_enc
->
fmt_in
.
video
.
i_width
>>
4
<<
4
;
p_sys
->
param
.
i_height
=
p_enc
->
fmt_in
.
video
.
i_height
>>
4
<<
4
;
p_sys
->
param
.
i_width
=
p_enc
->
fmt_in
.
video
.
i_width
;
p_sys
->
param
.
i_height
=
p_enc
->
fmt_in
.
video
.
i_height
;
#if X264_BUILD < 37
p_sys
->
param
.
i_width
=
p_sys
->
param
.
i_width
>>
4
<<
4
;
p_sys
->
param
.
i_height
=
p_sys
->
param
.
i_height
>>
4
<<
4
;
#endif
var_Get
(
p_enc
,
SOUT_CFG_PREFIX
"qp-min"
,
&
val
);
if
(
val
.
i_int
>=
1
&&
val
.
i_int
<=
51
)
i_qmin
=
val
.
i_int
;
...
...
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