[Common-cvs] system/platform/symbian symbianrecognizer.cpp, 1.2.156.10, 1.2.156.11

[Common-cvs] system/platform/symbian symbianrecognizer.cpp, 1.2.156.10, 1.2.156.11

g_manikandan2003 at helixcommunity.org g_manikandan2003 at helixcommunity.org
Thu Nov 4 00:53:14 PST 2010


Update of /cvsroot/common/system/platform/symbian
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv21452

Modified Files:
      Tag: hxclient_2_1_0_cayennes
	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 doesn’t 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.2.156.10
retrieving revision 1.2.156.11
diff -u -d -r1.2.156.10 -r1.2.156.11
--- symbianrecognizer.cpp	25 May 2010 07:07:56 -0000	1.2.156.10
+++ symbianrecognizer.cpp	4 Nov 2010 08:53:11 -0000	1.2.156.11
@@ -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);
     }




More information about the Common-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.