diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index 3c98628691b2..4cd29943eaf4 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -630,6 +630,11 @@ void GIFReader::CreateNewBitmaps() aAnimBmp.nWait = ( nTimer != 65535 ) ? nTimer : ANIMATION_TIMEOUT_ON_CLICK; aAnimBmp.bUserInput = false; + // tdf#104121 . Internet Explorer, Firefox, Chrome and Safari all set a minimum default playback speed. + // IE10 Consumer Preview sets default of 100ms for rates less that 20ms. We do the same + if (aAnimBmp.nWait < 2) // 20ms, specified in 100's of a second + aAnimBmp.nWait = 10; + if( nGCDisposalMethod == 2 ) aAnimBmp.eDisposal = Disposal::Back; else if( nGCDisposalMethod == 3 )