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.
This commit is contained in:
Jean-Philippe Andre 2014-02-12 15:58:06 +09:00
parent 62f0ea1d34
commit c6943bb32d
1 changed files with 1 additions and 1 deletions

View File

@ -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);