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

List:       helix-video-cvs
Subject:    [Video-cvs] sitelib minisurf.cpp,1.33.2.4,1.33.2.5
From:       huangrenjie () helixcommunity ! org
Date:       2010-10-13 19:37:03
Message-ID: 201010131937.o9DJbJ0O011747 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/video/sitelib
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv28731

Modified Files:
      Tag: hxclient_3_1_0_atlas
	minisurf.cpp 
Log Message:
Synopsis:  H263 playback with software decoder shows black screen due to incorrect \
image color format

Overview: The default image format for h263 is HX_OMXV. When H/W decoder fallback to \
S/W, the color format is not updated to H263_PIXEL_FORMAT, so Helix fails to render \
the decoded frames to video surface. In this fix, the color format is reconfigured \
accordingly after InitDecoder() is called: If omxv.so is in use, set the format as \
HX_OMXV, otherwise H263_PIXEL_FORMAT.



Index: minisurf.cpp
===================================================================
RCS file: /cvsroot/video/sitelib/minisurf.cpp,v
retrieving revision 1.33.2.4
retrieving revision 1.33.2.5
diff -u -d -r1.33.2.4 -r1.33.2.5
--- minisurf.cpp	9 Jul 2010 03:18:20 -0000	1.33.2.4
+++ minisurf.cpp	13 Oct 2010 19:37:00 -0000	1.33.2.5
@@ -225,6 +225,7 @@
     HX_ASSERT(m_nSrcCID != -1);
 
 #if defined (ANDROID)
+    SetSrcCID(m_nSrcCID);
     if (GetDstCID(m_nSrcCID) == CID_UNKNOWN)
 #else
     if (GetDstCID() == CID_UNKNOWN)


_______________________________________________
Video-cvs mailing list
Video-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/video-cvs


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

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