Skip to content

Commit 6f7a600

Browse files
committed
Merge pull request #583 from fran6co/vt_10.9
Using 10.9 available API for VideoToolbox
2 parents 8efb59b + c721156 commit 6f7a600

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/vt_rgb_packet_processor.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,12 @@ void VTRgbPacketProcessor::process(const RgbPacket &packet)
147147
);
148148

149149
CMSampleBufferRef sampleBuffer;
150-
CMSampleBufferCreateReady(
150+
CMSampleBufferCreate(
151151
NULL,
152152
blockBuffer,
153+
true,
154+
NULL,
155+
NULL,
153156
impl_->format,
154157
1,
155158
0,

0 commit comments

Comments
 (0)