summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index f66bb562a1..01326fea17 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -1003,7 +1003,7 @@ _pixels_get(void *data, Evas_Object *obj)
1003 ih = h; 1003 ih = h;
1004 } 1004 }
1005 format = sd->module->format_get(sd->video); 1005 format = sd->module->format_get(sd->video);
1006 if (format == EMOTION_YV12) 1006 if ((format == EMOTION_FORMAT_YV12) || (format == EMOTION_FORMAT_I420))
1007 { 1007 {
1008 unsigned char **rows; 1008 unsigned char **rows;
1009 Evas_Pixel_Import_Source ps; 1009 Evas_Pixel_Import_Source ps;
@@ -1029,7 +1029,7 @@ _pixels_get(void *data, Evas_Object *obj)
1029 evas_object_image_pixels_dirty_set(obj, 0); 1029 evas_object_image_pixels_dirty_set(obj, 0);
1030 free(ps.rows); 1030 free(ps.rows);
1031 } 1031 }
1032 else if (format == EMOTION_BGRA) 1032 else if (format == EMOTION_FORMAT_BGRA)
1033 { 1033 {
1034 unsigned char *bgra_data; 1034 unsigned char *bgra_data;
1035 if (sd->module->bgra_data_get(sd->video, &bgra_data)); 1035 if (sd->module->bgra_data_get(sd->video, &bgra_data));