Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
mediastreamer2
Merge requests
!34
Feature/android texture display zoom
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Sylvain Berfini
requested to merge
feature/android-texture-display-zoom
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Compare
master
version 1
228bb42c
6 years ago
master (base)
and
latest version
latest version
b8e6db79
1 commit,
6 years ago
version 1
228bb42c
1 commit,
6 years ago
1 file
+
9
−
0
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
src/android/android-texture-display.c
+
9
−
0
Options
View file @ b8e6db79
Edit in single-file editor
Open in Web IDE
Show full file
@@ -177,8 +177,17 @@ static int android_texture_display_set_window(MSFilter *f, void *arg) {
return
0
;
}
static
int
android_texture_display_set_zoom
(
MSFilter
*
f
,
void
*
arg
)
{
AndroidTextureDisplay
*
ad
=
(
AndroidTextureDisplay
*
)
f
->
data
;
if
(
ad
->
ogl
)
{
ogl_display_zoom
(
ad
->
ogl
,
arg
);
}
return
0
;
}
static
MSFilterMethod
methods
[]
=
{
{
MS_VIDEO_DISPLAY_SET_NATIVE_WINDOW_ID
,
android_texture_display_set_window
},
{
MS_VIDEO_DISPLAY_ZOOM
,
android_texture_display_set_zoom
},
{
0
,
NULL
}
};
Menu
Explore
Projects
Groups
Topics
Snippets