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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs]
From:       zlin () helixcommunity ! org
Date:       2011-03-30 10:16:19
Message-ID: 201103301016.p2UAGBpj020082 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/decoder/video
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27954

Modified Files:
      Tag: hxclient_3_6_5_atlas
	vdecoder.cpp 
Log Message:
Modified by: joeli@real.com
Date: 2010-12-03
Project: RealPlayer for Android Smartphones

Overview:
Due to the mkv contents
when extracting thumbnail from contents, it need to seek the the contents;
while some mkv contents with no seek cue table or with broken cue, it can ¡ ¯t \
support seek, so it failed to extract the thumbnail. As Now for these special \
contents, we extracting the eighth packet as thumbnail picture. And if the picture \
seems enough dark, we will try 3 times as current logic.

Files Added:
NA

player/kit/android/MetaDataDriver.cpp
player/common/dtdr_service/thumbnail_service/thumbnailservice.cpp
player/common/dtdr_service/thumbnail_service/pub/thumbnailservice.h
datatype/tools/dtdriver/decoder/video/vdecoder.cpp
datatype/mkv/fileformat/mkv_file_format.cpp

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

Platforms and Profiles Affected:
Platform: hxclient_3_6_2_atlas & hxclient_3_6_1_atlas
Profile: helix-client-android and helix-client-all-defines

Distribution Libraries Affected:
NA

Distribution library impact and planned action:
NA

Platforms and Profiles Build Verified:
Platform: hxclient_3_6_2_atlas  & hxclient_3_6_1_atlas
Profile:  helix-client-android and helix-client-all-defines

Platforms and Profiles Functionality verified:
Platform: hxclient_3_6_2_atlas & hxclient_3_6_1_atlas
Profile: helix-client-android and helix-client-all-defines

Branch: hxclient_3_6_2_atlas & hxclient_3_6_1_atlas
Copyright assignment: I am a RealNetworks employee


Index: vdecoder.cpp
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/decoder/video/vdecoder.cpp,v
retrieving revision 1.16.2.20
retrieving revision 1.16.2.20.4.1
diff -u -d -r1.16.2.20 -r1.16.2.20.4.1
--- vdecoder.cpp	11 Jan 2011 05:55:18 -0000	1.16.2.20
+++ vdecoder.cpp	30 Mar 2011 10:16:14 -0000	1.16.2.20.4.1
@@ -271,7 +271,7 @@
                 m_pFileHeaderOut->SetPropertyCString("AudioFormat", pBuffer);
                 HX_RELEASE(pBuffer);
             }
-
+        
             // Pass this along to the sink
             if (m_pSourceSink)
             {
@@ -770,15 +770,21 @@
 
 	UINT32 nWidth = 0;
 	UINT32 nHeight = 0;
+	UINT32 NonSeekable= 0;
         if (m_pStreamHeaderIn)
         {
 	    m_pStreamHeaderIn->GetPropertyULONG32("Width", nWidth);
             m_pStreamHeaderIn->GetPropertyULONG32("Height", nHeight);
+            m_pFileHeaderIn->GetPropertyULONG32("NonSeekable", NonSeekable);
         }
 
         // Do we have an HXBitmapInfoHeader?
         if (pHeader)
         {
+	    if(NonSeekable == 1)
+	    {
+		rpValues->SetPropertyULONG32("NonSeekable", 1);
+	    }
 	    if(nWidth == 0)
 	    {
 		nWidth = (ULONG32)pHeader->biWidth;


_______________________________________________
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