Mildly more useful comments/messages concerning frame disposals.

Fri Mar 31 14:10:02 BST 2000 Adam D. Moss <adam@gimp.org>

        * plug-ins/common/gifload.c: Mildly more useful
        comments/messages concerning frame disposals.
This commit is contained in:
BST 2000 Adam D. Moss 2000-03-31 13:26:55 +00:00 committed by Adam D. Moss
parent 5bbe56d364
commit be11b01570
2 changed files with 20 additions and 7 deletions

View file

@ -1,3 +1,8 @@
Fri Mar 31 14:10:02 BST 2000 Adam D. Moss <adam@gimp.org>
* plug-ins/common/gifload.c: Mildly more useful
comments/messages concerning frame disposals.
Fri Mar 31 04:20:27 PST 2000 Manish Singh <yosh@gimp.org>
* app/by_color_select.c: use the proper local variable on creation,

View file

@ -7,7 +7,7 @@
* Based around original GIF code by David Koblas.
*
*
* Version 1.0.2 - 99/11/20
* Version 1.0.3 - 2000/03/31
* Adam D. Moss - <adam@gimp.org> <adam@foxbox.org>
*/
/*
@ -23,6 +23,10 @@
/*
* REVISION HISTORY
*
* 2000/03/31
* 1.00.03 - Just mildly more useful comments/messages concerning frame
* disposals.
*
* 99/11/20
* 1.00.02 - Fixed a couple of possible infinite loops where an
* error condition was not being checked. Also changed some g_message()s
@ -914,20 +918,24 @@ ReadImage (FILE *fd,
framename = g_strconcat (framename, " (replace)", NULL);
g_free (framename_ptr);
break;
case 0x03:
case 0x03: /* Rarely-used, and unhandled by many
loaders/players (including GIMP: we treat as
'combine' mode). */
framename_ptr = framename;
framename = g_strconcat (framename, " (combine)", NULL);
framename = g_strconcat (framename, " (combine) (!)", NULL);
g_free (framename_ptr);
break;
case 0x04:
case 0x04: /* I've seen a composite of this type. stvo_online_banner2.gif */
case 0x05:
case 0x06:
case 0x06: /* I've seen a composite of this type. bn31.Gif */
case 0x07:
framename_ptr = framename;
framename = g_strconcat (framename, " (unknown disposal)", NULL);
g_free (framename_ptr);
g_message ("GIF: Hmm... please forward this GIF to the "
"GIF plugin author!\n (adam@foxbox.org)\n");
g_message ("GIF: Hmm... Composite type %d. Interesting.\n"
"Please forward this GIF to the "
"GIF plugin author!\n (adam@foxbox.org)\n",
previous_disposal);
break;
default:
g_message ("GIF: Something got corrupted.\n");