/* $Id: MpegDemux.h,v 1.11 2003/10/09 13:24:48 titer Exp $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ #ifndef HB_MPEG_DEMUX_H #define HB_MPEG_DEMUX_H #include "Common.h" bool PStoES( HBBuffer * psBuffer, HBList ** _esBufferList ); class HBMpegDemux { public: HBMpegDemux( HBManager * manager, HBTitle * title, HBAudio * audio1, HBAudio * audio2 ); ~HBMpegDemux(); bool Work(); private: bool Lock(); void Unlock(); HBManager * fManager; HBTitle * fTitle; HBAudio * fAudio1; HBAudio * fAudio2; HBLock * fLock; bool fUsed; HBBuffer * fPSBuffer; HBBuffer * fESBuffer; HBList * fESBufferList; int64_t fFirstVideoPTS; int64_t fFirstAudio1PTS; int64_t fFirstAudio2PTS; }; #endif