Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6d71b5c0
Commit
6d71b5c0
authored
Dec 19, 2011
by
Martin Storsjö
Committed by
Jean-Baptiste Kempf
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omxil: Ignore nSliceHeight on Galaxy S II
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
387b07cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
modules/codec/omxil/omxil.c
modules/codec/omxil/omxil.c
+12
-0
No files found.
modules/codec/omxil/omxil.c
View file @
6d71b5c0
...
...
@@ -445,6 +445,18 @@ static OMX_ERRORTYPE GetPortDefinition(decoder_t *p_dec, OmxPort *p_port,
strlen
(
"OMX.qcom.video.decoder"
)))
def
->
format
.
video
.
eColorFormat
=
OMX_QCOM_COLOR_FormatYVU420SemiPlanar
;
/* Hack: Galaxy S II (stock firmware) gives a slice height larger
* than the video height, but this doesn't imply padding between
* the video planes. Nexus S also has a slice height larger than
* the video height, but there it actually is real padding, thus
* Galaxy S II is the buggy one. The Galaxy S II decoder is
* named OMX.SEC.avcdec while the one on Nexus S is
* OMX.SEC.AVC.Decoder. Thus do this for any OMX.SEC. that don't
* contain the string ".Decoder". */
if
(
!
strncmp
(
p_sys
->
psz_component
,
"OMX.SEC."
,
strlen
(
"OMX.SEC."
))
&&
!
strstr
(
p_sys
->
psz_component
,
".Decoder"
))
def
->
format
.
video
.
nSliceHeight
=
0
;
if
(
!
GetVlcVideoFormat
(
def
->
format
.
video
.
eCompressionFormat
,
&
p_fmt
->
i_codec
,
0
)
)
{
...
...
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