Mercurial > mplayer.hg
view loader/dshow/cmediasample.h @ 2867:a9a63f7e9ddc
nice new docu. read it.
TODO: place gcc 2.96 Q/A from FAQ to here.
author | gabucino |
---|---|
date | Tue, 13 Nov 2001 16:19:48 +0000 |
parents | da26060c81ef |
children | 213b35f84cf3 |
line wrap: on
line source
#ifndef DS_CMEDIASAMPLE_H #define DS_CMEDIASAMPLE_H #include "interfaces.h" #include "guids.h" struct CMediaSample: public IMediaSample { IMemAllocator* all; int size; int actual_size; char* block; char* own_block; int refcount; int isPreroll; int isSyncPoint; AM_MEDIA_TYPE media_type; int type_valid; CMediaSample(IMemAllocator* allocator, long _size); ~CMediaSample(); void SetPointer(char* pointer) { block = pointer; } void ResetPointer() { block = own_block; } }; #endif /* DS_CMEDIASAMPLE_H */