21#ifndef _MPEG2_TRANSPORT_STREAM_FROM_PES_SOURCE_HH
22#define _MPEG2_TRANSPORT_STREAM_FROM_PES_SOURCE_HH
24#ifndef _MPEG2_TRANSPORT_STREAM_MULTIPLEXOR_HH
27#ifndef _MPEG_1OR2_DEMUXED_ELEMENTARY_STREAM_HH
49 unsigned numTruncatedBytes,
50 struct timeval presentationTime,
51 unsigned durationInMicroseconds);
53 unsigned numTruncatedBytes,
54 struct timeval presentationTime,
55 unsigned durationInMicroseconds);
virtual ~MPEG2TransportStreamFromPESSource()
MPEG2TransportStreamFromPESSource(UsageEnvironment &env, MPEG1or2DemuxedElementaryStream *inputSource)
static MPEG2TransportStreamFromPESSource * createNew(UsageEnvironment &env, MPEG1or2DemuxedElementaryStream *inputSource)
unsigned char * fInputBuffer
void afterGettingFrame1(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
static void afterGettingFrame(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
MPEG1or2DemuxedElementaryStream * fInputSource
virtual void doStopGettingFrames()
virtual void awaitNewBuffer(unsigned char *oldBuffer)