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
75b67dbc
Commit
75b67dbc
authored
Nov 15, 2013
by
Felix Abecassis
Committed by
Rémi Denis-Courmont
Nov 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediacodec: change type of internal variables to bool.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
09e1913c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/codec/omxil/android_mediacodec.c
modules/codec/omxil/android_mediacodec.c
+5
-5
No files found.
modules/codec/omxil/android_mediacodec.c
View file @
75b67dbc
...
...
@@ -73,8 +73,8 @@ struct decoder_sys_t
int
crop_top
,
crop_left
;
char
*
name
;
int
started
;
int
decoded
;
bool
started
;
bool
decoded
;
ArchitectureSpecificCopyData
architecture_specific_data
;
};
...
...
@@ -347,7 +347,7 @@ static int OpenDecoder(vlc_object_t *p_this)
(
*
env
)
->
ExceptionClear
(
env
);
goto
error
;
}
p_sys
->
started
=
1
;
p_sys
->
started
=
true
;
p_sys
->
input_buffers
=
(
*
env
)
->
CallObjectMethod
(
env
,
p_sys
->
codec
,
p_sys
->
get_input_buffers
);
p_sys
->
output_buffers
=
(
*
env
)
->
CallObjectMethod
(
env
,
p_sys
->
codec
,
p_sys
->
get_output_buffers
);
...
...
@@ -526,7 +526,7 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t **pp_block)
(
*
env
)
->
ExceptionClear
(
env
);
}
}
p_sys
->
decoded
=
0
;
p_sys
->
decoded
=
false
;
(
*
myVm
)
->
DetachCurrentThread
(
myVm
);
return
NULL
;
}
...
...
@@ -562,7 +562,7 @@ static picture_t *DecodeVideo(decoder_t *p_dec, block_t **pp_block)
ts
=
p_block
->
i_dts
;
(
*
env
)
->
CallVoidMethod
(
env
,
p_sys
->
codec
,
p_sys
->
queue_input_buffer
,
index
,
0
,
size
,
ts
,
0
);
(
*
env
)
->
DeleteLocalRef
(
env
,
buf
);
p_sys
->
decoded
=
1
;
p_sys
->
decoded
=
true
;
break
;
}
if
(
!
p_pic
)
...
...
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