~unity-team/thumbnailer/trunk

« back to all changes in this revision

Viewing changes to src/imagescaler.cpp

  • Committer: Jussi Pakkanen
  • Date: 2014-03-05 09:29:45 UTC
  • mto: This revision was merged to the branch mainline in revision 73.
  • Revision ID: jussi.pakkanen@canonical.com-20140305092945-ovwad23s27utr1ad
Add test for image reorientation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
          // We don't do mirrored images, at least not yet.
74
74
      }
75
75
    }
76
 
    // This entire function should only contain this call.
77
76
    if(!rot) {
 
77
        // This entire function should only contain this call, really.
78
78
      rot = gdk_pixbuf_apply_embedded_orientation(src);
79
79
    }
80
80
    exif_data_unref(ed);