aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2020-04-16 12:52:35 +0300
committerEli Zaretskii2020-04-16 12:52:35 +0300
commit82c1d150938b38435c0ae9aa921d7c2739ed200c (patch)
tree98c1595336293b81ef96f49f4d4690040309d27e /src
parent490f279c7e05e81bcc07e03c315aead27524f0a7 (diff)
downloademacs-82c1d150938b38435c0ae9aa921d7c2739ed200c.tar.gz
emacs-82c1d150938b38435c0ae9aa921d7c2739ed200c.zip
; * src/w32image.c (w32_select_active_frame): Comment about GUID values.
Diffstat (limited to 'src')
-rw-r--r--src/w32image.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32image.c b/src/w32image.c
index 80c3247e97d..0a2a55d3f6f 100644
--- a/src/w32image.c
+++ b/src/w32image.c
@@ -283,6 +283,11 @@ w32_select_active_frame (GpBitmap *pBitmap, int frame, int *nframes,
283 *delay = 0.0; 283 *delay = 0.0;
284 if (count) 284 if (count)
285 { 285 {
286 /* The following call will fill pDimensionIDs[0] with the
287 FrameDimensionTime GUID for GIF images, and
288 FrameDimensionPage GUID for other image types. Multi-page
289 GIF and TIFF images expect these values in the
290 GdipImageSelectActiveFrame call below. */
286 status = GdipImageGetFrameDimensionsList (pBitmap, pDimensionIDs, 1); 291 status = GdipImageGetFrameDimensionsList (pBitmap, pDimensionIDs, 1);
287 status = GdipImageGetFrameCount (pBitmap, &pDimensionIDs[0], &frameCount); 292 status = GdipImageGetFrameCount (pBitmap, &pDimensionIDs[0], &frameCount);
288 if (status == Ok && frameCount > 1) 293 if (status == Ok && frameCount > 1)