[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wm/fileformat asf_file_format_file.cpp, 1.5.2.1,
From:       ehyche () helixcommunity ! org
Date:       2007-04-25 18:32:33
Message-ID: 200704251833.l3PIX0bb015334 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/wm/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv12048/fileformat

Modified Files:
      Tag: hxclient_2_0_4_cayenne
	asf_file_format_file.cpp 
Log Message:
"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:  eero.jyske@nokia.com

Reviewed by: ehyche@real.com
Merged to 204cay by: ehyche@real.com

Date: 4/24/2007

Project: SymbianMmf_wm

ErrorId:  ECTN-72FJXA

Synopsis: CR: Change Helix internal WM audio/video mimetypes

Common Code changes: 

Windows media uses internally the following mimetypes: 
application/vnd.rn-wmv application/vnd.rn-wma. 
This causes a problem as in number of locations the mimetype is 
checked for being either audio or video.
The recognition is based on the mimetype having either "audio" or 
"video" as the first five characters.
Fix is to change the mimetypes to: 

Old                                      New 
---------------------------------------------------- 
application/vnd.rn-wma               audio/x-hx-wma 
application/vnd.rn-wmv               video/x-hx-wmv 

and we'll leave these the same: 

application/vnd.rn-wm-script 
application/vnd.rn-wm-image       
application/vnd.rn-wm-filetransfer
application/vnd.rn-wm-binary

Root Cause of the problem:  Bug fix

  
Files Modified: 
datatype/wm/fileformat/asf_file_format_file.cpp
datatype/wm/fileformat/platform/win32/hxwmreader.cpp
datatype/wm/audio/renderer/wmarender.cpp
datatype/wm/video/renderer/wmvrender.cpp
datatype/mdf/video/format/wmv/mdfwmvpayloadformat.cpp


Files Added: 

None

Image Size and Heap Use impact: No significant change. 

Module Release testing (STIF) :  N/A - Will be done once the WM 
support is enabled.
 
Test case(s) Added  :  N/A - Will be added once the WM support is 
 enabled.

Memory leak check performed : Yes No new leaks introduced
 
Platforms and Profiles Build Verified: 
helix-client-s60-32-mmf-mdf-arm

Platforms and Profiles Functionality verified: armv5, winscw

Branch: 210CayS, HEAD, 150cay, 204cay



Index: asf_file_format_file.cpp
===================================================================
RCS file: /cvsroot/datatype/wm/fileformat/asf_file_format_file.cpp,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.1.2.1
diff -u -d -r1.5.2.1 -r1.5.2.1.2.1
--- asf_file_format_file.cpp	6 Dec 2006 02:00:01 -0000	1.5.2.1
+++ asf_file_format_file.cpp	25 Apr 2007 18:32:31 -0000	1.5.2.1.2.1
@@ -69,8 +69,8 @@
 const char* const CASFFileFormatFile::m_ppszFileExtensions[] = {"asf", "wma", "wmv", \
NULL};  const char* const CASFFileFormatFile::m_ppszFileOpenNames[]  = {"Windows \
Media Files (*.asf,*.wma,*.wmv)", NULL};  
-const char* const CASFFileFormatFile::m_ppszStreamMimeType[HX_ASF_Num_Stream_Types - \
                1] = {"application/vnd.rn-wma",
-                                                                                     \
"application/vnd.rn-wmv", +const char* const \
CASFFileFormatFile::m_ppszStreamMimeType[HX_ASF_Num_Stream_Types - 1] = \
{"audio/x-hx-wma", +                                                                  \
                "video/x-hx-wmv",
                                                                                      \
                "application/vnd.rn-wm-script",
                                                                                      \
                "application/vnd.rn-wm-image",
                                                                                      \
"application/vnd.rn-wm-image",


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic