blur_rectangle->blur = blur;
blur->blur_rectangles = eina_list_append(blur->blur_rectangles, blur_rectangle);
- efl_gfx_filter_program_set(blur_rectangle->obj, blur->program, "image_filter");
+ if (*blur->program != 0)
+ efl_gfx_filter_program_set(blur_rectangle->obj, blur->program, "image_filter");
_e_blur_rectangle_geometry_set(blur_rectangle, blur->ec);
evas_object_layer_set(blur_rectangle->obj, evas_object_layer_get(blur->ec->frame));
E_Blur_Video_Capture *video_capture = _video_capture;
Evas_Object *obj;
E_Blur_Video_Capture_Object *object;
- const char *program, *name;
int x, y, w, h;
Eina_List *l;
evas_object_event_callback_add(object->blur_rectangle_obj, EVAS_CALLBACK_DEL,
_e_blur_video_capture_object_evas_cb_del, object);
- efl_gfx_filter_program_get(object->blur_rectangle_obj, &program, &name);
- efl_gfx_filter_program_set(object->source_obj, program, name);
-
evas_object_layer_set(object->blur_clip_obj, evas_object_layer_get(client->ec->frame));
evas_object_stack_above(object->blur_clip_obj, client->ec->frame);