mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
applemedia: update signature of CMSampleBufferCreate and CMBlockBufferCreateWithMemoryBlock
Change data type for counters passed on the stack from UInt32 to size_t. Fixes 64bit builds.
This commit is contained in:
parent
42dd6a145a
commit
b45250e9d2
1 changed files with 11 additions and 6 deletions
|
@ -142,9 +142,13 @@ struct _GstCMApi
|
||||||
CMTime (* CMTimeMake) (int64_t value, int32_t timescale);
|
CMTime (* CMTimeMake) (int64_t value, int32_t timescale);
|
||||||
|
|
||||||
OSStatus (* CMSampleBufferCreate) (CFAllocatorRef allocator,
|
OSStatus (* CMSampleBufferCreate) (CFAllocatorRef allocator,
|
||||||
CMBlockBufferRef blockBuf, Boolean unkBool, UInt32 unkDW1, UInt32 unkDW2,
|
CMBlockBufferRef blockBuf, Boolean dataReady,
|
||||||
CMFormatDescriptionRef fmtDesc, UInt32 unkCountA, UInt32 unkCountB,
|
void *makeDataReadyCallback,
|
||||||
const void * unkTimeData, UInt32 unkCountC, const void * unkDWordData,
|
void *makeDataReadyRefcon,
|
||||||
|
CMFormatDescriptionRef fmtDesc, size_t numSamples,
|
||||||
|
size_t numSampleTimingEntries,
|
||||||
|
const void *sampleTimingArray,
|
||||||
|
size_t numSampleSizeEntries, const size_t *sampleSizeArray,
|
||||||
CMSampleBufferRef * sampleBuffer);
|
CMSampleBufferRef * sampleBuffer);
|
||||||
Boolean (* CMSampleBufferDataIsReady) (
|
Boolean (* CMSampleBufferDataIsReady) (
|
||||||
const CMSampleBufferRef buf);
|
const CMSampleBufferRef buf);
|
||||||
|
@ -164,9 +168,10 @@ struct _GstCMApi
|
||||||
CMSampleBufferRef (* FigSampleBufferRetain) (CMSampleBufferRef buf);
|
CMSampleBufferRef (* FigSampleBufferRetain) (CMSampleBufferRef buf);
|
||||||
|
|
||||||
OSStatus (* CMBlockBufferCreateWithMemoryBlock)
|
OSStatus (* CMBlockBufferCreateWithMemoryBlock)
|
||||||
(CFAllocatorRef allocator, Byte * data, UInt32 size,
|
(CFAllocatorRef allocator, void * memoryBlock, size_t blockLength,
|
||||||
CFAllocatorRef dataAllocator, void *unk1, UInt32 sizeA, UInt32 sizeB,
|
CFAllocatorRef dataAllocator, void *customBlockSource,
|
||||||
Boolean unkBool, CMBlockBufferRef * blockBuffer);
|
size_t offsetToData, size_t dataLength,
|
||||||
|
int flags, CMBlockBufferRef * blockBuffer);
|
||||||
SInt32 (* CMBlockBufferGetDataLength) (const CMBlockBufferRef buf);
|
SInt32 (* CMBlockBufferGetDataLength) (const CMBlockBufferRef buf);
|
||||||
OSStatus (* CMBlockBufferGetDataPointer) (
|
OSStatus (* CMBlockBufferGetDataPointer) (
|
||||||
const CMBlockBufferRef buf, UInt32 unk1, UInt32 unk2, UInt32 unk3,
|
const CMBlockBufferRef buf, UInt32 unk1, UInt32 unk2, UInt32 unk3,
|
||||||
|
|
Loading…
Reference in a new issue