[Common-cvs] system/platform/symbian symbianrecognizer.cpp, 1.13.10.2, 1.13.10.3
g_manikandan2003 at helixcommunity.org g_manikandan2003 at helixcommunity.orgUpdate of /cvsroot/common/system/platform/symbian
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv26534
Modified Files:
Tag: hxclient_4_2_0_brizo
symbianrecognizer.cpp
Log Message:
From: Merapala Shashi (EXT-Sasken/Bangalore)
Sent: Wednesday, October 27, 2010 8:53 PM
To: I_EXT_HELIX_ALL_GMS DG
Subject: CR: ou1cimx1#621073 - Thumbnail not generated for mp4 video (tn engine error -17)
"Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."
Modified by: ext-shashi.merapala at nokia.com
Reviewed by: Ashish.As.Gupta at nokia.com
Date: 10/27/2010
Project: SymbianMmf_wm
Error Id: ou1cimx1#621073
Synopsis: Thumbnail not generated for mp4 video (tn engine error -17)
Overview: The error reported mp4 video clip in question has atom type ftypFACE which the symbian recognizer doesnt recognize and hence returns the mime type as NULL as it is unable to map a mime type for this particular atom type.
Solution: Added this atom type to the symbian recognizer to return a mime type.
Diff below.
Files added: None
Files modified: /cvsroot/common/system/platform/symbian/symbianrecognizer.cpp
Image size and heap use impact: Negligible
Module release testing (STIF): Done. Passed.
Test case(s) added: No
Memory leak check performed: NA
Platforms and profiles build verified: helix-client-s60-52-mmf-mdf-dsp
Platforms and profiles functionality verified: armv5
Branch: 210CayS, HEAD, 420Brizo
Index: symbianrecognizer.cpp
===================================================================
RCS file: /cvsroot/common/system/platform/symbian/symbianrecognizer.cpp,v
retrieving revision 1.2.156.10
diff -u -w -r1.2.156.10 symbianrecognizer.cpp
--- symbianrecognizer.cpp 25 May 2010 07:07:56 -0000 1.2.156.10
+++ symbianrecognizer.cpp 27 Oct 2010 14:59:04 -0000
@@ -50,6 +50,7 @@
_LIT8(KMSNVType ,"ftypMSNV" ); // mp4 MSNV format
_LIT8(KAvc1Type ,"ftypavc1" ); // avc1 format
_LIT8(KDby1Type ,"ftypdby1" ); // dby1 format
+ _LIT8(KFACEType ,"ftypFACE" ); // FACE
// mime types can be returned
_LIT8(K3GPPVideo , "video/3gpp" );
@@ -85,7 +86,8 @@
|| buffer.FindF(KIsomType) != KErrNotFound || buffer.FindF(KMp42Type) != KErrNotFound || buffer.FindF(KM4VType) != KErrNotFound
|| buffer.FindF(KMSNVType) != KErrNotFound
|| buffer.FindF(KAvc1Type) != KErrNotFound
- || buffer.FindF(KDby1Type) != KErrNotFound)
+ || buffer.FindF(KDby1Type) != KErrNotFound
+ || buffer.FindF(KFACEType) != KErrNotFound)
{
type = TDataType(KMP4Video);
}
Index: symbianrecognizer.cpp
===================================================================
RCS file: /cvsroot/common/system/platform/symbian/symbianrecognizer.cpp,v
retrieving revision 1.13.10.2
retrieving revision 1.13.10.3
diff -u -d -r1.13.10.2 -r1.13.10.3
--- symbianrecognizer.cpp 25 May 2010 07:20:46 -0000 1.13.10.2
+++ symbianrecognizer.cpp 4 Nov 2010 08:59:38 -0000 1.13.10.3
@@ -50,6 +50,7 @@
_LIT8(KMSNVType ,"ftypMSNV" ); // mp4 MSNV format
_LIT8(KAvc1Type ,"ftypavc1" ); // avc1 format
_LIT8(KDby1Type ,"ftypdby1" ); // dby1 format
+ _LIT8(KFACEType ,"ftypFACE" ); // FACE
// mime types can be returned
_LIT8(K3GPPVideo , "video/3gpp" );
@@ -85,7 +86,8 @@
|| buffer.FindF(KIsomType) != KErrNotFound || buffer.FindF(KMp42Type) != KErrNotFound || buffer.FindF(KM4VType) != KErrNotFound
|| buffer.FindF(KMSNVType) != KErrNotFound
|| buffer.FindF(KAvc1Type) != KErrNotFound
- || buffer.FindF(KDby1Type) != KErrNotFound)
+ || buffer.FindF(KDby1Type) != KErrNotFound
+ || buffer.FindF(KFACEType) != KErrNotFound)
{
type = TDataType(KMP4Video);
}