Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pvanhoof@lors:~/repos/gnome/tracker/master$ git diff
- diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tr
- index a9d15cb..f884711 100644
- --- a/src/tracker-extract/tracker-extract-jpeg.c
- +++ b/src/tracker-extract/tracker-extract-jpeg.c
- @@ -110,13 +110,7 @@ guess_dlna_profile (gint width,
- *dlna_mimetype = NULL;
- }
- - if (width == 48 && height == 48) {
- - profile = "JPEG_SM_ICO";
- - } else if (width == 120 && height == 120) {
- - profile = "JPEG_LRG_ICO";
- - } else if (width <= 160 && height <= 160) {
- - profile = "JPEG_TN";
- - } else if (width <= 640 && height <= 480) {
- + if (width <= 640 && height <= 480) {
- profile = "JPEG_SM";
- } else if (width <= 1024 && height <= 768) {
- profile = "JPEG_MED";
- diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tra
- index 350848b..6aa1329 100644
- --- a/src/tracker-extract/tracker-extract-png.c
- +++ b/src/tracker-extract/tracker-extract-png.c
- @@ -755,15 +755,7 @@ guess_dlna_profile (gint depth,
- *dlna_mimetype = NULL;
- }
- - if (width == 120 && height == 120) {
- - profile = "PNG_LRG_ICO";
- - } else if (width == 48 && height == 48) {
- - profile = "PNG_SM_ICO";
- - } else if (width <= 160 && height <= 160) {
- - profile = "PNG_TN";
- - } else if (depth <= 32 && width <= 4096 && height <= 4096) {
- - profile = "PNG_LRG";
- - }
- + profile = "PNG_LRG";
- if (profile) {
- if (dlna_profile) {
- pvanhoof@lors:~/repos/gnome/tracker/master$
Add Comment
Please, Sign In to add comment