Add a hack as a possible workaround for #372

This commit is contained in:
Cameron Gutman
2019-09-14 11:49:09 -07:00
parent 73197e4378
commit 409b262a4f
3 changed files with 38 additions and 5 deletions

View File

@@ -12,7 +12,9 @@
- (id)initWithView:(OSView*)view;
- (void)setupWithVideoFormat:(int)videoFormat;
- (void)setupWithVideoFormat:(int)videoFormat refreshRate:(int)refreshRate;
- (void)cleanup;
- (void)updateBufferForRange:(CMBlockBufferRef)existingBuffer data:(unsigned char *)data offset:(int)offset length:(int)nalLength;