nsgifload was not setting filename

This commit is contained in:
John Cupitt 2021-03-28 13:38:41 +01:00
parent 89c12b0e62
commit b2cfe6a0a0

View File

@ -306,6 +306,9 @@ vips_foreign_load_nsgif_set_header( VipsForeignLoadNsgif *gif,
vips_image_set_array_double( image, "background", array, 3 ); vips_image_set_array_double( image, "background", array, 3 );
} }
VIPS_SETSTR( image->filename,
vips_connection_filename( VIPS_CONNECTION( gif->source ) ) );
/* DEPRECATED "gif-loop" /* DEPRECATED "gif-loop"
* *
* Not the correct behavior as loop=1 became gif-loop=0 * Not the correct behavior as loop=1 became gif-loop=0