gegl r2079 - in trunk: . operations/io
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2079 - in trunk: . operations/io
- Date: Thu, 21 Feb 2008 15:29:02 +0000 (GMT)
Author: ok
Date: Thu Feb 21 15:29:02 2008
New Revision: 2079
URL: http://svn.gnome.org/viewvc/gegl?rev=2079&view=rev
Log:
* operations/io/ff-load.c: (prepare), (process): tentative fix.
Modified:
trunk/ChangeLog
trunk/operations/io/ff-load.c
Modified: trunk/operations/io/ff-load.c
==============================================================================
--- trunk/operations/io/ff-load.c (original)
+++ trunk/operations/io/ff-load.c Thu Feb 21 15:29:02 2008
@@ -17,7 +17,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
-gegl_chant_path (path, "File", "", "Path of file to load.")
+gegl_chant_path (path, "File", "/home/pippin/ed.avi", "Path of file to load.")
gegl_chant_int (frame, "Frame", 0, 1000000, 0, "frame number")
#else
@@ -236,12 +236,15 @@
{
GeglChantO *o = GEGL_CHANT_PROPERTIES (operation);
Priv *p = (Priv*)o->chant_data;
+
+ if (p == NULL)
+ init (o);
+ p = (Priv*)o->chant_data;
+
g_assert (o->chant_data != NULL);
gegl_operation_set_format (operation, "output", babl_format ("R'G'B'A u8"));
- if (p == NULL)
- init (o);
if (!p->loadedfilename ||
strcmp (p->loadedfilename, o->path))
@@ -351,6 +354,7 @@
gint pxsize;
gint x,y;
+
g_object_get (output, "px-size", &pxsize, NULL);
buf = g_new (guchar, p->width * p->height * pxsize);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]