Merge "supports remote URL gif image" into devel/master
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 27 Mar 2018 01:25:02 +0000 (01:25 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 27 Mar 2018 01:25:02 +0000 (01:25 +0000)
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp

index d216ff6..fcb3811 100755 (executable)
@@ -154,7 +154,7 @@ AnimatedImageVisualPtr AnimatedImageVisual::New( VisualFactoryCache& factoryCach
 void AnimatedImageVisual::InitializeGif( const VisualUrl& imageUrl )
 {
   mImageUrl = imageUrl;
-  mGifLoading = GifLoading::New( imageUrl.GetUrl() );
+  mGifLoading = GifLoading::New( imageUrl.GetUrl(), imageUrl.IsLocalResource() );
   mFrameCount = mGifLoading->GetImageCount();
   mGifLoading->LoadFrameDelays( mFrameDelayContainer );
 }