error:
GST_ELEMENT_ERROR (vtdec, STREAM, DECODE, (NULL),
- ("VTDecompressionSessionDecodeFrame returned %d", status));
+ ("VTDecompressionSessionDecodeFrame returned %d", (int) status));
ret = GST_FLOW_ERROR;
goto out;
}
if (status != noErr) {
GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
- ("VTDecompressionSessionCreate returned %d", status));
+ ("VTDecompressionSessionCreate returned %d", (int) status));
return FALSE;
}
block_error:
GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
- ("CMBlockBufferCreateWithMemoryBlock returned %d", status));
+ ("CMBlockBufferCreateWithMemoryBlock returned %d", (int) status));
goto out;
sample_error:
GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
- ("CMSampleBufferCreate returned %d", status));
+ ("CMSampleBufferCreate returned %d", (int) status));
if (bbuf)
CFRelease (bbuf);
frame->decode_frame_number, image_buffer);
if (status != noErr) {
- GST_ERROR_OBJECT (vtdec, "Error decoding frame %d", status);
+ GST_ERROR_OBJECT (vtdec, "Error decoding frame %d", (int) status);
goto drop;
}