Commit b8e6db79 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩 Committed by Simon Morlat

Added zoom feature to Android's texture display filter

parent 63430038
......@@ -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 }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment