From: Jean-Philippe Andre Date: Fri, 22 Jan 2016 04:54:21 +0000 (+0900) Subject: Evas filters: Fix inconsistency in transform API X-Git-Tag: upstream/1.20.0~7604 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e35a5239b4527410f9e232f8d9212fd9ff6384d;p=platform%2Fupstream%2Fefl.git Evas filters: Fix inconsistency in transform API This is a minor change, makes 'output' the default target for the transform filter. This is consistent with all the other filters. This is not exactly a bug fix but it doesn't break compatibility with the earlier explicit form and improves the API for 1.17. --- diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c index 9e4bdd2..7f41234 100644 --- a/src/lib/evas/filters/evas_filter_parser.c +++ b/src/lib/evas/filters/evas_filter_parser.c @@ -1772,7 +1772,7 @@ _transform_instruction_prepare(Evas_Filter_Program *pgm, Evas_Filter_Instruction instr->type = EVAS_FILTER_MODE_TRANSFORM; instr->pad.update = _transform_padding_update; - _instruction_param_seq_add(instr, "dst", VT_BUFFER, NULL); + _instruction_param_seq_add(instr, "dst", VT_BUFFER, _buffer_get(pgm, "output")); _instruction_param_seq_add(instr, "op", VT_STRING, "vflip"); _instruction_param_seq_add(instr, "src", VT_BUFFER, _buffer_get(pgm, "input")); //_instruction_param_name_add(instr, "ox", VT_INT, 0);