[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mpeg2ts/fileformat/pub tsfformat.h, 1.8.2.4.2.7, 1.8.2.4.2.8
From: ching_li () helixcommunity ! org
Date: 2012-06-12 7:45:03
[Download RAW message or body]
Update of /cvsroot/datatype/mpeg2ts/fileformat/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv6307/fileformat/pub
Modified Files:
Tag: hxclient_3_6_1_atlas
tsfformat.h
Log Message:
2) For ts/m2ts file format, since we load the packet data in async mode, it is easy \
to run into rebuffer logic when play some 1080p contents and HLS, so load data \
immediately in the CTSFileFormat::GetPacket function and add "preload" mechanism.
Index: tsfformat.h
===================================================================
RCS file: /cvsroot/datatype/mpeg2ts/fileformat/pub/tsfformat.h,v
retrieving revision 1.8.2.4.2.7
retrieving revision 1.8.2.4.2.8
diff -u -d -r1.8.2.4.2.7 -r1.8.2.4.2.8
--- tsfformat.h 11 Jun 2012 05:58:46 -0000 1.8.2.4.2.7
+++ tsfformat.h 12 Jun 2012 07:45:00 -0000 1.8.2.4.2.8
@@ -209,6 +209,7 @@
#endif
#ifdef ANDROID
IHXScheduler* m_pScheduler;
+ CallbackHandle m_hPendingCallback;
#endif
CTSDemuxer* m_pTSDemuxer;
CHXTSFFStreamInfo* m_pStreamInfo;
@@ -228,12 +229,12 @@
HXBOOL m_bPostPMTSeekPending;
UINT32 m_ulTSPacketSize;
UINT32 m_ulTSReadSize;
-
+
HX_RESULT PrepareFileHeader(REF(IHXValues*) pFileHeader);
HX_RESULT PrepareStreamHeader(UINT16 streamNo, \
REF(IHXValues*) pStreamHeader);
HX_RESULT ConvertSeekTimeToOffset(UINT32 requestedTime, \
UINT64 *pStart, UINT64 *pEnd );
HX_RESULT CalculateOffsetByTime(UINT32 requestedTime, \
UINT64 *pRet);
-
+ void PreloadPacketsIfNeed();
};
#endif // _TSFFORMAT_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