mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
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:
parent
9dfe9fb41d
commit
fed396ff8e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue