22#ifndef _MPEG2_TRANSPORT_STREAM_ACCUMULATOR_HH
23#define _MPEG2_TRANSPORT_STREAM_ACCUMULATOR_HH
25#ifndef _FRAMED_FILTER_HH
33 unsigned maxPacketSize = 1456);
47 unsigned numTruncatedBytes,
48 struct timeval presentationTime,
49 unsigned durationInMicroseconds);
51 unsigned numTruncatedBytes,
52 struct timeval presentationTime,
53 unsigned durationInMicroseconds);
FramedSource * inputSource() const
unsigned const fDesiredPacketSize
MPEG2TransportStreamAccumulator(UsageEnvironment &env, FramedSource *inputSource, unsigned maxPacketSize)
static void afterGettingFrame(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
virtual ~MPEG2TransportStreamAccumulator()
unsigned fNumBytesGathered
static MPEG2TransportStreamAccumulator * createNew(UsageEnvironment &env, FramedSource *inputSource, unsigned maxPacketSize=1456)
void afterGettingFrame1(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
virtual void doGetNextFrame()