Mercurial > mplayer.hg
view loader/dshow/cmediasample.h @ 16524:83d101e1bedb
Prints the number of tracks and MSF length for each track of an audio CD,
prints ID_CDDA_TRACK=N output showing the currently played track number
when -identify is given.
Patch by kiriuja < mplayer TIRET patches CHEZ en TIRET directo POIS net >
Doxygen comments by Guillaume POIRIER
Original thread:
Date: Sep 11, 2005 10:49 PM
Subject: Re: [MPlayer-dev-eng] [PATCH] -identify audio CD tracks
author | gpoirier |
---|---|
date | Mon, 19 Sep 2005 18:22:09 +0000 |
parents | e3bbf44dbab2 |
children | 2c8cdb9123b8 |
line wrap: on
line source
#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 */