zmike pushed a commit to branch efl-1.22. http://git.enlightenment.org/core/efl.git/commit/?id=f011e8e59ad2455bff8bceb5ae90ddadc05a3ba5
commit f011e8e59ad2455bff8bceb5ae90ddadc05a3ba5 Author: Mike Blumenkrantz <[email protected]> Date: Wed May 29 09:29:08 2019 -0400 efl_ui/video: do not set 0x0 aspect hint Summary: this is an error @fix Depends on D8982 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8983 --- src/lib/elementary/efl_ui_video.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/efl_ui_video.c b/src/lib/elementary/efl_ui_video.c index 75b6b155dc..c4281b9ea7 100644 --- a/src/lib/elementary/efl_ui_video.c +++ b/src/lib/elementary/efl_ui_video.c @@ -115,17 +115,17 @@ _efl_ui_video_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Video_Data *sd) Evas_Coord w = 0, h = 0; evas_object_size_hint_request_get(sd->emotion, &minw, &minh); - evas_object_size_hint_aspect_set - (sd->emotion, EVAS_ASPECT_CONTROL_BOTH, minw, minh); + if (minw && minh) + evas_object_size_hint_aspect_set + (sd->emotion, EVAS_ASPECT_CONTROL_BOTH, minw, minh); edje_object_size_min_calc(wd->resize_obj, &w, &h); if (w != 0 && h != 0) { minw = w; minh = h; + evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_BOTH, minw, minh); } - - evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_BOTH, minw, minh); } static void --
