jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c6943bb32d95322ff4ae1c171082db78bf522363

commit c6943bb32d95322ff4ae1c171082db78bf522363
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Feb 12 15:58:06 2014 +0900

    Evas filters: in transform, dst must be specified
    
    Since the transform operation is (for now) a very simple tool,
    it only works when src and dst have the same colorspace.
    
    This commit forces users to specify dst, since "input" and "output"
    have different colorspaces.
---
 src/lib/evas/filters/evas_filter_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/filters/evas_filter_parser.c 
b/src/lib/evas/filters/evas_filter_parser.c
index 2954652..5968eb6 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1123,9 +1123,9 @@ _transform_instruction_prepare(Evas_Filter_Instruction 
*instr)
 
    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, "op", VT_STRING, "vflip");
    _instruction_param_seq_add(instr, "src", VT_BUFFER, "input");
-   _instruction_param_seq_add(instr, "dst", VT_BUFFER, "output");
    //_instruction_param_name_add(instr, "ox", VT_INT, 0);
    _instruction_param_name_add(instr, "oy", VT_INT, 0);
 

-- 


Reply via email to