Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
61949af4
Commit
61949af4
authored
Apr 27, 2015
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediacodec: allow interlaced picture only after API 21
parent
ccfcd3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/codec/omxil/android_mediacodec.c
modules/codec/omxil/android_mediacodec.c
+8
-0
No files found.
modules/codec/omxil/android_mediacodec.c
View file @
61949af4
...
...
@@ -1396,6 +1396,14 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t **pp_block)
if
(
p_sys
->
error_state
)
goto
endclean
;
/* Allow interlaced picture only after API 21 */
if
(
p_block
&&
p_block
->
i_flags
&
BLOCK_FLAG_INTERLACED_MASK
&&
!
(
jfields
.
get_input_buffer
&&
jfields
.
get_output_buffer
))
{
b_error
=
true
;
goto
endclean
;
}
if
(
!
(
env
=
jni_get_env
(
THREAD_NAME
)))
{
b_error
=
true
;
...
...
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