summaryrefslogtreecommitdiff
path: root/debian/patches/0115-webp_part3.patch
blob: 4d992c4e373327ee22994944cd967be02d980e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Jens Georg <mail@jensge.org>
Date: Sat, 9 Feb 2019 16:43:15 +0100
Subject: Fix an issue with the WEBP meta-data writer

(cherry picked from commit 57ab1628883e3fde5bb3eafc0197b4e17354d2a6)
---
 src/photos/WebPSupport.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/photos/WebPSupport.vala b/src/photos/WebPSupport.vala
index 093f196..2f4723c 100644
--- a/src/photos/WebPSupport.vala
+++ b/src/photos/WebPSupport.vala
@@ -213,7 +213,7 @@ private class WebpReader : PhotoFileReader {
 
 private class WebpMetadataWriter : PhotoFileMetadataWriter {
     public WebpMetadataWriter(string filepath) {
-        base (filepath, PhotoFileFormat.TIFF);
+        base (filepath, PhotoFileFormat.WEBP);
     }
 
     public override void write_metadata(PhotoMetadata metadata) throws Error {