fix(macos): fix broken streaming on MacOS (#2485)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
#include <utility>
|
||||
|
||||
#include "src/platform/macos/av_img_t.h"
|
||||
#include "src/platform/macos/nv12_zero_device.h"
|
||||
|
||||
#include "src/video.h"
|
||||
@@ -24,6 +25,8 @@ namespace platf {
|
||||
CVPixelBufferRelease((CVPixelBufferRef) data);
|
||||
}
|
||||
|
||||
util::safe_ptr<AVFrame, free_frame> av_frame;
|
||||
|
||||
int
|
||||
nv12_zero_device::convert(platf::img_t &img) {
|
||||
auto *av_img = (av_img_t *) &img;
|
||||
|
||||
Reference in New Issue
Block a user