Change-Id: I6e2b29de2d58930a9fa806444e0fc519009a0763
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
{
#if TIZEN_FEATURE_WLSINK_ENHANCEMENT
FUNCTION;
+ /* check video buffer size for wl_surface_damage_buffer */
+ if (window->buffer_width != window->display->buffer_width
+ || window->buffer_height != window->display->buffer_height) {
+ window->buffer_width = window->display->buffer_width;
+ window->buffer_height = window->display->buffer_height;
+ }
+
if (G_UNLIKELY (info)) {
window->video_width =
gst_util_uint64_scale_int_round (info->width, info->par_n, info->par_d);