Skip to content

Commit

Permalink
build(platform): fix iOS build error
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Jun 2, 2020
1 parent 02c495f commit 2d1127f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/Apple/source/CicadaRenderCBWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

if (frame->getType() == IAFFrame::FrameTypeVideo) {
switch (frame->getInfo().format) {
switch (frame->getInfo().video.format) {
case AF_PIX_FMT_APPLE_PIXEL_BUFFER: {
auto *ppBFrame = dynamic_cast<PBAFFrame *>(frame);
CVPixelBufferRef pixelBuffer = ppBFrame->getPixelBuffer();
Expand Down

0 comments on commit 2d1127f

Please sign in to comment.