diff options
Diffstat (limited to 'dm/DMSrcSink.cpp')
-rw-r--r-- | dm/DMSrcSink.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp index 9efccd3042..06ca750734 100644 --- a/dm/DMSrcSink.cpp +++ b/dm/DMSrcSink.cpp @@ -721,8 +721,13 @@ SkISize CodecSrc::size() const { Name CodecSrc::name() const { if (1.0f == fScale) { - return SkOSPath::Basename(fPath.c_str()); + Name name = SkOSPath::Basename(fPath.c_str()); + if (fMode == kAnimated_Mode) { + name.append("_animated"); + } + return name; } + SkASSERT(fMode != kAnimated_Mode); return get_scaled_name(fPath, fScale); } |