summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_image_legacy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c
index 7f8d48693d..6fa92672d3 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -984,7 +984,11 @@ evas_object_image_video_surface_caps_get(const Evas_Object *eo_obj)
984 EVAS_IMAGE_LEGACY_API(eo_obj, 0); 984 EVAS_IMAGE_LEGACY_API(eo_obj, 0);
985 985
986 Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS); 986 Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS);
987 return (!o->video_surface ? 0 : o->pixels->video_caps); 987
988 /* The generic hardware plane code calls this function on
989 * non-video surfaces, return stacking check for those to
990 * allow them to use common video surface code */
991 return (!o->video_surface ? EVAS_VIDEO_SURFACE_STACKING_CHECK : o->pixels->video_caps);
988} 992}
989 993
990/* deprecated */ 994/* deprecated */