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
83250379
Commit
83250379
authored
Oct 30, 2014
by
Ghislain MARY
Browse files
Fix compilation.
parent
3f84f2ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/android/android-display.c
src/android/android-display.c
+3
-1
No files found.
src/android/android-display.c
View file @
83250379
...
...
@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "mediastreamer2/msvideo.h"
#include "mediastreamer2/msjava.h"
#include "layouts.h"
8
#include <android/bitmap.h>
#include <dlfcn.h>
...
...
@@ -81,6 +81,7 @@ static int vsize_get_orientation(MSVideoSize vs){
return
vs
.
width
>=
vs
.
height
?
LANDSCAPE
:
PORTRAIT
;
}
#if 0
static void select_orientation(AndroidDisplay *ad, MSVideoSize wsize, MSVideoSize vsize){
int wo,vo;
JNIEnv *jenv=ms_get_jni_env();
...
...
@@ -92,6 +93,7 @@ static void select_orientation(AndroidDisplay *ad, MSVideoSize wsize, MSVideoSiz
ad->orientation_change_pending=TRUE;
}
}
#endif
static
void
android_display_process
(
MSFilter
*
f
){
...
...
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