]> git.sesse.net Git - mlt/blobdiff - src/modules/gtk2/producer_pixbuf.c
Fix exif rotation angle
[mlt] / src / modules / gtk2 / producer_pixbuf.c
index 68c8fed72b55fd0cd95948f0fb9ca70d89e10170..a3c106ee3550528c36c34e0c2cda16db420a6a6c 100644 (file)
@@ -297,7 +297,7 @@ static void refresh_image( producer_pixbuf this, mlt_frame frame, int width, int
                                    processed = gdk_pixbuf_flip ( pixbuf, FALSE );
                                    break;
                                case 8:
-                                   matrix = GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE;
+                                   matrix = GDK_PIXBUF_ROTATE_CLOCKWISE;
                                    processed = pixbuf;
                                    break;
                                case 3:
@@ -305,15 +305,15 @@ static void refresh_image( producer_pixbuf this, mlt_frame frame, int width, int
                                    processed = pixbuf;
                                    break;
                                case 6:
-                                   matrix = GDK_PIXBUF_ROTATE_CLOCKWISE;
+                                   matrix = GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE;
                                    processed = pixbuf;
                                    break;
                                case 5:
-                                   matrix = GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE;
+                                   matrix = GDK_PIXBUF_ROTATE_CLOCKWISE;
                                    processed = gdk_pixbuf_flip ( pixbuf, TRUE );
                                    break;
                                case 7:
-                                   matrix = GDK_PIXBUF_ROTATE_CLOCKWISE;
+                                   matrix = GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE;
                                    processed = gdk_pixbuf_flip ( pixbuf, TRUE );
                                    break;