#include "mp-video-log.h"
#include "mp-video-value-define.h"
#include <app_common.h>
+#define ELM_SCALE_SIZE_VIDEO(x) ((int)(((double)(x) * elm_config_scale_get()) / 1.0 + 0.5))
/**
*
evas_object_size_hint_align_set(pLayout, EVAS_HINT_FILL, EVAS_HINT_FILL);
Elm_Animation_View *anim_view = elm_animation_view_add(pLayout);
- evas_object_size_hint_min_set(anim_view, ELM_SCALE_SIZE(540), ELM_SCALE_SIZE(420));
+ evas_object_size_hint_min_set(anim_view, ELM_SCALE_SIZE_VIDEO(405), ELM_SCALE_SIZE_VIDEO(315));
elm_animation_view_auto_play_set(anim_view, true);
elm_animation_view_auto_repeat_set(anim_view, true);
elm_animation_view_file_set(anim_view, json_path, NULL);