[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode. 43/289243/3
authorSun-woo Nam <sunny.nam@samsung.com>
Thu, 2 Mar 2023 04:51:10 +0000 (20:51 -0800)
committerBot Blink <blinkbot@samsung.com>
Sun, 5 Mar 2023 04:38:26 +0000 (04:38 +0000)
commitefdd386d9ef87ede96ffda00f408e51589e04a61
tree9d4a1bf29c56e09fa2a8a59800fc310b4f5a975b
parentb7864fe2dafd796fd46d696db21e7ce033c1c3b3
[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode.

Ecore_Wl2_Window is used as the main window handle in the onscreen rendering
mode.
Previously, |player_set_display| was used to use video hole in CAPI MMPlayer.
However, |player_set_display| could only receive evas objects, including
elm window, as a parameter.
Threrefore, this patch uses |player_set_display_webapp| api to hand over
the wayland surface id for the TV profile. In case of the public profile,
use |player_set_ecore_wl_display| instead of |player_set_display_webapp|.

Reference: https://review.tizen.org/gerrit/#/c/289148/

Change-Id: I0eb011c20a6584e581b151fec35468cd58073cfa
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
tizen_src/chromium_impl/media/base/tizen/media_player_bridge_capi.cc