31 unsigned bufferSize = 20000,
40 virtual void addData(
unsigned char const* data,
unsigned dataSize,
41 struct timeval presentationTime);
46 char const* perFrameFileNamePrefix);
55 unsigned numTruncatedBytes,
56 struct timeval presentationTime,
57 unsigned durationInMicroseconds);
59 unsigned numTruncatedBytes,
60 struct timeval presentationTime);
virtual void afterGettingFrame(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime)
char * fPerFrameFileNamePrefix
unsigned fSamePresentationTimeCounter
virtual Boolean continuePlaying()
char * fPerFrameFileNameBuffer
static void afterGettingFrame(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
struct timeval fPrevPresentationTime
FileSink(UsageEnvironment &env, FILE *fid, unsigned bufferSize, char const *perFrameFileNamePrefix)
static FileSink * createNew(UsageEnvironment &env, char const *fileName, unsigned bufferSize=20000, Boolean oneFilePerFrame=False)
virtual void addData(unsigned char const *data, unsigned dataSize, struct timeval presentationTime)