Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
b5009ed2
Commit
b5009ed2
authored
Nov 25, 2010
by
Guillaume Beraudo
Browse files
Removed hide preview boolean from setParameters function.
parent
152dd764
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/msandroidvideo.cpp
src/msandroidvideo.cpp
+2
-2
No files found.
src/msandroidvideo.cpp
View file @
b5009ed2
...
...
@@ -236,7 +236,7 @@ void video_capture_preprocess(MSFilter *f){
JNIEnv
*
env
=
0
;
if
(
attachVM
(
&
env
,
d
)
!=
0
)
return
;
jmethodID
setParamMethod
=
env
->
GetMethodID
(
d
->
videoClassType
,
"setParameters"
,
"(IIF
Z
)V"
);
jmethodID
setParamMethod
=
env
->
GetMethodID
(
d
->
videoClassType
,
"setParameters"
,
"(IIF)V"
);
if
(
setParamMethod
==
0
)
{
ms_message
(
"cannot find %s
\n
"
,
setParamMethod
);
return
;
...
...
@@ -244,7 +244,7 @@ void video_capture_preprocess(MSFilter *f){
ms_message
(
"Android video capture setting parameters h=%i, w=%i fps=%f through JNI"
,
d
->
vsize
.
height
,
d
->
vsize
.
width
,
d
->
fps
);
ms_mutex_lock
(
&
d
->
mutex
);
env
->
CallVoidMethod
(
d
->
javaAndroidCameraRecord
,
setParamMethod
,
d
->
vsize
.
height
,
d
->
vsize
.
width
,
d
->
fps
,
false
);
env
->
CallVoidMethod
(
d
->
javaAndroidCameraRecord
,
setParamMethod
,
d
->
vsize
.
height
,
d
->
vsize
.
width
,
d
->
fps
);
ms_mutex_unlock
(
&
d
->
mutex
);
ms_message
(
"Preprocessing of Android VIDEO capture filter done"
);
...
...
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