[M120 Migration][MM] Enable video hole when in full-screen mode in the public profile.
In accordance with the policy, video hole should only be enabled
when the video is in full-screen mode in the public profile.
Therefore, video hole should be dynamically turned on/off
based on whether the video is in full-screen mode or not.
- |esplusplayer_enable_video_hole| is used for this feature.
- Create MediaPlayerESPlusPlayerCommon because |esplusplayer_enable_video_hole|
can be used only for the public profile.
- Extract |SetBufferType| function that sets the buffer type
because the buffer type should be always 'copy' to use
|esplusplayer_enable_video_hole| in the public profile.
- Extract |PrepareVideoHole| function that calls video hole-related apis
to keep the following function call order.
esplusplayer_set_video_frame_buffer_type -> esplusplayer_set_display
-> esplusplayer_enable_video_hole -> esplusplayer_prepare_async
Reference:
https://review.tizen.org/gerrit/#/c/291803/
https://review.tizen.org/gerrit/#/c/292529/
Change-Id: Ibe85b1ad0e2885eb201f309e0630d2eeb40b69a4
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>