Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b7fa4726
Commit
b7fa4726
authored
Nov 03, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for video size incompatible with the colorspace.
Close #4206.
parent
9f5b5496
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/input/decoder.c
src/input/decoder.c
+12
-0
No files found.
src/input/decoder.c
View file @
b7fa4726
...
...
@@ -2345,6 +2345,18 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
fmt
.
i_chroma
=
p_dec
->
fmt_out
.
i_codec
;
p_owner
->
video
=
fmt
;
if
(
vlc_fourcc_IsYUV
(
fmt
.
i_chroma
)
)
{
vlc_chroma_description_t
*
dsc
=
vlc_fourcc_GetChromaDescription
(
fmt
.
i_chroma
);
for
(
int
i
=
0
;
dsc
&&
i
<
dsc
->
plane_count
;
i
++
)
{
while
(
fmt
.
i_width
%
dsc
->
p
[
i
].
w
.
den
)
fmt
.
i_width
++
;
while
(
fmt
.
i_height
%
dsc
->
p
[
i
].
h
.
den
)
fmt
.
i_height
++
;
}
}
if
(
!
fmt
.
i_visible_width
||
!
fmt
.
i_visible_height
)
{
if
(
p_dec
->
fmt_in
.
video
.
i_visible_width
&&
...
...
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