~artmello/gallery-app/gallery-app-not_display_video

« back to all changes in this revision

Viewing changes to rc/qml/OrganicView/OrganicMediaList.qml

  • Committer: Ugo Riboni
  • Date: 2014-02-11 19:02:35 UTC
  • Revision ID: ugo.riboni@canonical.com-20140211190235-qg2pgvjmynsb4tdy
Use the SDK thumbnailer instead of the custom one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
                image: Image {
164
164
                    source: model.mediaSource.galleryThumbnailPath
165
165
                    asynchronous: true
 
166
 
 
167
                    /* The SDK thumbnailer respects the freedesktop.org standard and uses 128 for the small
 
168
                     * thumbnail size, while the previous thumbnailer used 216. To maintain the same visual
 
169
                     * result as the previous thumbnailer, we force it to generate a large thumbnail, which
 
170
                     * is closer to the older one in size and looks identical when downscaled */
 
171
                    sourceSize.width: 256
 
172
                    fillMode: Image.PreserveAspectCrop
166
173
                }
167
174
 
168
175
                OrganicItemInteraction {