[tracker/tracker-0.12] tracker-extract, png: Fix DLNA profiles
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-extract, png: Fix DLNA profiles
- Date: Fri, 25 Nov 2011 15:43:20 +0000 (UTC)
commit f3bbbd6890e3bad76aa06bfdd75590fd0246c1fb
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Oct 28 15:51:58 2011 +0200
tracker-extract, png: Fix DLNA profiles
Fixes NB#288530.
src/tracker-extract/tracker-extract-png.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-png.c b/src/tracker-extract/tracker-extract-png.c
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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]