[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mkv/fileformat/pub mkv_file_format.h, 1.5.2.9, 1.5.2.10
From: xzhao () helixcommunity ! org
Date: 2012-01-20 2:18:40
[Download RAW message or body]
Update of /cvsroot/datatype/mkv/fileformat/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv8962/fileformat/pub
Modified Files:
Tag: hxclient_3_6_1_atlas
mkv_file_format.h
Log Message:
Bug 14365: Fix MKV memory leak
> * make a new interface to let FF know core's subscription;
> * disable the queue of unactive track, so that the memory footprint is under control
> * flush old track queue and re-fill new track queue when switch happens;
> * Some minor memory leak as I said in previous mail.
Index: mkv_file_format.h
===================================================================
RCS file: /cvsroot/datatype/mkv/fileformat/pub/mkv_file_format.h,v
retrieving revision 1.5.2.9
retrieving revision 1.5.2.10
diff -u -d -r1.5.2.9 -r1.5.2.10
--- mkv_file_format.h 16 Nov 2011 12:38:34 -0000 1.5.2.9
+++ mkv_file_format.h 20 Jan 2012 02:18:38 -0000 1.5.2.10
@@ -87,7 +87,8 @@
class CMKVFileFormat : public IHXPlugin,
public IHXFileFormatObject,
- public IHXCallback
+ public IHXCallback,
+ public IHXTrackSubscribe
{
public:
CMKVFileFormat();
@@ -121,6 +122,9 @@
STDMETHOD(Seek) (THIS_ ULONG32 ulOffset);
HX_RESULT SendpacketFromQ(UINT16);
+ // IHXTrackSubscribe
+ STDMETHOD(SetTrackActive) (THIS_ UINT16 unStrmNum, HXBOOL bActive);
+
//IHXCallback methods
STDMETHOD(Func) (THIS);
@@ -144,7 +148,6 @@
HXBOOL m_bResetPresentationTime;
UINT64 m_ulTimeCodeOfLastBlock;
UINT32 m_ulRTPTimeScale;
- UINT32 m_uAudioTimePosition;
UINT64 m_ulminimumBlockDuration;
UINT32 m_uFrameReferenceCount;
HXBOOL m_bStreamDone;
_______________________________________________
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