diff options
author | Hyunil <hyunil46.park@samsung.com> | 2021-07-21 15:53:07 +0900 |
---|---|---|
committer | Hyunil <hyunil46.park@samsung.com> | 2021-07-23 10:25:33 +0900 |
commit | f2ec6b3345334d258d9c97d23259e51b5dc2b5bf (patch) | |
tree | 3b97d0432cd29fcefdfd69a5ac328c7bd4b977b7 | |
parent | c7ce4c8134a5792f4302100c71436db8dea52610 (diff) | |
download | libmm-player-f2ec6b3345334d258d9c97d23259e51b5dc2b5bf.tar.gz libmm-player-f2ec6b3345334d258d9c97d23259e51b5dc2b5bf.tar.bz2 libmm-player-f2ec6b3345334d258d9c97d23259e51b5dc2b5bf.zip |
[0.6.258] Use video overlay interface to set exported shell handle
- Use gst_video_overlay_set_wl_window_exported_shell_handle()
- Remove g_object_set() but it is available.
Change-Id: I340502081f130a6b3ab64522c16766eeea1ea7e7
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
-rw-r--r-- | packaging/libmm-player.spec | 2 | ||||
-rw-r--r-- | src/mm_player_priv.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/packaging/libmm-player.spec b/packaging/libmm-player.spec index 7e27f27..25de64a 100644 --- a/packaging/libmm-player.spec +++ b/packaging/libmm-player.spec @@ -1,6 +1,6 @@ Name: libmm-player Summary: Multimedia Framework Player Library -Version: 0.6.257 +Version: 0.6.258 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c index 9700190..d75a7d8 100644 --- a/src/mm_player_priv.c +++ b/src/mm_player_priv.c @@ -2086,7 +2086,10 @@ static void __mmplayer_video_param_set_display_overlay_sync_ui(mmplayer_t *playe /* common case if using overlay surface */ mm_attrs_get_string_by_name(attrs, "exported_shell_handle", &handle); MMPLAYER_RETURN_IF_FAIL(handle); - g_object_set(player->pipeline->videobin[MMPLAYER_V_SINK].gst, "exported-shell-handle", handle, NULL); + + gst_video_overlay_set_wl_window_exported_shell_handle( + GST_VIDEO_OVERLAY(player->pipeline->videobin[MMPLAYER_V_SINK].gst), + handle); LOGD("set video param: exported_shell_handle (%s)", handle); } |