1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
mpv/loader/dshow/cmediasample.h
diego 3bbe897e24 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
capital letter are reserved for the system, those starting with _ are
reserved at the file level.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-20 17:16:39 +00:00

33 lines
787 B
C

#ifndef DS_CMEDIASAMPLE_H
#define DS_CMEDIASAMPLE_H
#include "interfaces.h"
#include "guids.h"
typedef struct CMediaSample CMediaSample;
struct CMediaSample
{
IMediaSample_vt* vt;
DECLARE_IUNKNOWN();
IMemAllocator* all;
int size;
int actual_size;
char* block;
char* own_block;
int isPreroll;
int isSyncPoint;
int isDiscontinuity;
LONGLONG time_start;
LONGLONG time_end;
AM_MEDIA_TYPE media_type;
int type_valid;
void ( *SetPointer) (CMediaSample* This, char* pointer);
void ( *ResetPointer) (CMediaSample* This); // FIXME replace with Set & 0
};
CMediaSample* CMediaSampleCreate(IMemAllocator* allocator, int size);
// called from allocator
void CMediaSample_Destroy(CMediaSample* This);
#endif /* DS_CMEDIASAMPLE_H */