Guest User

Untitled

a guest
Feb 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. pvanhoof@lors:~/repos/gnome/tracker/master$ git diff
  2. diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tr
  3. index a9d15cb..f884711 100644
  4. --- a/src/tracker-extract/tracker-extract-jpeg.c
  5. +++ b/src/tracker-extract/tracker-extract-jpeg.c
  6. @@ -110,13 +110,7 @@ guess_dlna_profile (gint width,
  7. *dlna_mimetype = NULL;
  8. }
  9.  
  10. - if (width == 48 && height == 48) {
  11. - profile = "JPEG_SM_ICO";
  12. - } else if (width == 120 && height == 120) {
  13. - profile = "JPEG_LRG_ICO";
  14. - } else if (width <= 160 && height <= 160) {
  15. - profile = "JPEG_TN";
  16. - } else if (width <= 640 && height <= 480) {
  17. + if (width <= 640 && height <= 480) {
  18. profile = "JPEG_SM";
  19. } else if (width <= 1024 && height <= 768) {
  20. profile = "JPEG_MED";
  21. diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tra
  22. index 350848b..6aa1329 100644
  23. --- a/src/tracker-extract/tracker-extract-png.c
  24. +++ b/src/tracker-extract/tracker-extract-png.c
  25. @@ -755,15 +755,7 @@ guess_dlna_profile (gint depth,
  26. *dlna_mimetype = NULL;
  27. }
  28.  
  29. - if (width == 120 && height == 120) {
  30. - profile = "PNG_LRG_ICO";
  31. - } else if (width == 48 && height == 48) {
  32. - profile = "PNG_SM_ICO";
  33. - } else if (width <= 160 && height <= 160) {
  34. - profile = "PNG_TN";
  35. - } else if (depth <= 32 && width <= 4096 && height <= 4096) {
  36. - profile = "PNG_LRG";
  37. - }
  38. + profile = "PNG_LRG";
  39.  
  40. if (profile) {
  41. if (dlna_profile) {
  42. pvanhoof@lors:~/repos/gnome/tracker/master$
Add Comment
Please, Sign In to add comment