[tracker] tracker-extract, jpeg: Fix DLNA profiles
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract, jpeg: Fix DLNA profiles
- Date: Fri, 28 Oct 2011 13:53:21 +0000 (UTC)
commit f2585c44c671a7dbbfbd755de6e4f843b8a7a91e
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Oct 28 15:51:26 2011 +0200
tracker-extract, jpeg: Fix DLNA profiles
Fixes NB#288530.
src/tracker-extract/tracker-extract-jpeg.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
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";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]