summaryrefslogtreecommitdiffstats
path: root/HBMpegDemux.h
diff options
context:
space:
mode:
Diffstat (limited to 'HBMpegDemux.h')
-rw-r--r--HBMpegDemux.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/HBMpegDemux.h b/HBMpegDemux.h
new file mode 100644
index 000000000..f98c0a0ae
--- /dev/null
+++ b/HBMpegDemux.h
@@ -0,0 +1,38 @@
+/* $Id: HBMpegDemux.h,v 1.7 2003/08/24 13:27:41 titer Exp $ */
+
+#ifndef _HB_MPEG_DEMUX_H
+#define _HB_MPEG_DEMUX_H
+
+#include "HBThread.h"
+class HBManager;
+class HBBuffer;
+class BList;
+
+BList * PStoES( HBBuffer * psBuffer );
+
+class HBMpegDemux : public HBThread
+{
+ public:
+ HBMpegDemux( HBManager * manager, HBTitleInfo * titleInfo,
+ HBAudioInfo * audio1Info, HBAudioInfo * audio2Info );
+
+ private:
+ void DoWork();
+ void InsertSilence( int64_t time, HBFifo * fifo,
+ HBBuffer * buffer );
+
+ HBManager * fManager;
+ HBTitleInfo * fTitleInfo;
+ HBAudioInfo * fAudio1Info;
+ HBAudioInfo * fAudio2Info;
+
+ HBBuffer * fPSBuffer;
+ HBBuffer * fESBuffer;
+ BList * fESBufferList;
+
+ int64_t fFirstVideoPTS;
+ int64_t fFirstAudio1PTS;
+ int64_t fFirstAudio2PTS;
+};
+
+#endif