Mercurial > mplayer.hg
view loader/dshow/cmediasample.h @ 34847:44210843ba79
Update MimeType key in the desktop file.
This complies with the freedesktop.org shared MIME info database.
The following MIME types not registered with IANA are used:
application/ram
application/vnd.rn-realmedia
audio/flac (in addition to audio/x-flac, see (*) below)
audio/mp2 (see (**) below)
audio/vnd.rn-realaudio
video/vnd.rn-realvideo
video/webm
(*) freedesktop.org changed that from the correct, non-standard type
audio/x-flac in v0.80 "for consistency with other xiph.org types
not yet registered in IANA"
(**) freedesktop.org introduced that in v0.22, not using the correct,
non-standard type audio/x-mp2 which was added in v0.60, but only
as an alias
author | ib |
---|---|
date | Mon, 21 May 2012 09:45:29 +0000 |
parents | a8ea87c71d18 |
children |
line wrap: on
line source
#ifndef MPLAYER_CMEDIASAMPLE_H #define MPLAYER_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 /* MPLAYER_CMEDIASAMPLE_H */