- 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>
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
/* 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);
}