[gegl] operations/common/gblur-1d: Explicitly set the input format
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations/common/gblur-1d: Explicitly set the input format
- Date: Mon, 30 Oct 2017 12:19:25 +0000 (UTC)
commit 2550d9ae833b6984aeb5c33c1dfe42959a1b1274
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Oct 30 11:49:56 2017 +0100
operations/common/gblur-1d: Explicitly set the input format
The input format used to be implicitly set while reading the source
buffer during processing. Make this explicit by setting the format
during "prepare", so that the code is easier to read.
https://bugzilla.gnome.org/show_bug.cgi?id=789642
operations/common/gblur-1d.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/gblur-1d.c b/operations/common/gblur-1d.c
index ee709dd..d340fb6 100644
--- a/operations/common/gblur-1d.c
+++ b/operations/common/gblur-1d.c
@@ -630,6 +630,7 @@ gegl_gblur_1d_prepare (GeglOperation *operation)
format = "YaA float";
}
+ gegl_operation_set_format (operation, "input", babl_format (format));
gegl_operation_set_format (operation, "output", babl_format (format));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]