[tracker] tracker-extract, png: Fix DLNA profiles
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract, png: Fix DLNA profiles
- Date: Fri, 28 Oct 2011 13:53:26 +0000 (UTC)
commit 89baaa45a70e5d50462bbd4e5b89dbb2c221e701
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]