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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs]
From:       alexvonduar () helixcommunity ! org
Date:       2011-09-30 0:51:48
Message-ID: 201109300212.p8U2CHuO030026 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
      Tag: hxclient_3_6_1_atlas
	asf_file_format_file.cpp 
Log Message:
Synopsis: The duration of a VC1/sp/ASF file duration cannot be got
rightly

Overview: time duration get from file header is 33915, preroll is 5500.
This stream have header extension object and a extended stream
properties object inside it. In extended stream properties object, start
time = 5000, end time = 37532. These two time need to be adjusted by
preroll both. Thus we can use end time - start time directly instead of
minus them separately.

Files Added: None

Files Modified:
datatype/wm/fileformat/asf_file_format_file.cpp

Image Size and Heap Use impact (Client -Only): None


Index: asf_file_format_file.cpp
===================================================================
RCS file: /cvsroot/datatype/wm/fileformat/asf_file_format_file.cpp,v
retrieving revision 1.10.2.8.2.12
retrieving revision 1.10.2.8.2.13
diff -u -d -r1.10.2.8.2.12 -r1.10.2.8.2.13
--- asf_file_format_file.cpp	15 Sep 2011 06:10:06 -0000	1.10.2.8.2.12
+++ asf_file_format_file.cpp	30 Sep 2011 00:51:45 -0000	1.10.2.8.2.13
@@ -2426,19 +2426,6 @@
                 UINT64 ullEndTime = pObj->m_ullEndTime;
                 // Get the start time
                 UINT64 ullStartTime = pObj->m_ullStartTime;
-                // Get the preroll
-                UINT64 ullPreroll = 0;
-                if (m_pFilePropertiesObject)
-                {
-                    ullPreroll = m_pFilePropertiesObject->m_ullPreroll;
-                }
-                // Adjust the end time by the preroll
-                ullEndTime -= ullPreroll;
-                // Adjust the start time by the preroll
-                if (ullStartTime >= ullPreroll)
-                {
-                    ullStartTime -= ullPreroll;
-                }
                 // Sanity check
                 if (ullEndTime >= ullStartTime)
                 {


_______________________________________________
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