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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] mp4/video/renderer/pub mp4vdec.h, 1.5.8.10, 1.5.8.10.54.1
From:       jieliu () helixcommunity ! org
Date:       2013-09-06 4:56:50
[Download RAW message or body]

Update of /cvsroot/datatype/mp4/video/renderer/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16061

Modified Files:
      Tag: jupiter
	mp4vdec.h 
Log Message:
Fix bug:
RPD-2173 [RP_Playback]: RP(Plus) crashes after seeking MP4(MPEG4) clips with audio \
codec AAC+ or EAAC+  RPD-2171 [RP_Playback]: RP(Plus) crashes after seeking certain \
M4V(MPEG4+AAC_LC) clip RPD-2158 [Jupiter_Playback][Plus RP crash after seek action \
2~more with 3GP clips(MPEG4_SP + AAC_LC] 

Description
=========== 
These three bugs have same root cause:Current seek logic in CMP4VideoFormat will \
cause the decoder functions called in different threads, So I refer to the seek logic \
of CRVXVideoFormat to avoid this multithreading issue,save the seek point first and \
tell the codec to seek when beginning decoding.

Index: mp4vdec.h
===================================================================
RCS file: /cvsroot/datatype/mp4/video/renderer/pub/mp4vdec.h,v
retrieving revision 1.5.8.10
retrieving revision 1.5.8.10.54.1
diff -u -d -r1.5.8.10 -r1.5.8.10.54.1
--- mp4vdec.h	12 Dec 2010 22:00:16 -0000	1.5.8.10
+++ mp4vdec.h	6 Sep 2013 04:56:42 -0000	1.5.8.10.54.1
@@ -81,6 +81,8 @@
     void ReleaseBuffer(UINT8* pBuff);
     HX_RESULT GetProperty(UINT32 id, void* pPropVal);
 
+    void ResetSequence(ULONG32 ulNewSequenceStartTS);
+
     static HX_RESULT STDMETHODCALLTYPE OnNewImage(HXSTREAM streamRef, 
 						  HXSTREAM fromStreamRef,	
 						  HXCODEC_DATA *pData);
@@ -108,6 +110,9 @@
     ULONG32*			m_pImageInfoBuffer;
 
     ULONG32			m_ulLastTimeStamp;
+
+    ULONG32         m_ulSequenceStartTS;
+    HXBOOL          m_bNewSequence;
 };
 
 #endif // __MP4VDEC_H__


_______________________________________________
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