playback/android: expose after setting the window handle

Fixes the view not updating in PAUSED after a surface change from an
orientation change/explicit surface change.
This commit is contained in:
Matthew Waters 2017-10-12 16:26:41 +11:00
parent 9dfe9fb41d
commit fed396ff8e

View file

@ -407,6 +407,8 @@ native_set_surface (JNIEnv * env, jobject thiz, jobject surface)
gst_player_video_overlay_video_renderer_set_window_handle
(GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER (player->renderer),
(gpointer) new_native_window);
gst_player_video_overlay_video_renderer_expose
(GST_PLAYER_VIDEO_OVERLAY_VIDEO_RENDERER (player->renderer));
}
static void