Request an IDR frame and reset the decoder if the decoder breaks

This commit is contained in:
Cameron Gutman 2015-01-09 18:02:18 -05:00
commit f7fdd7cb45
3 changed files with 63 additions and 25 deletions

View file

@ -16,6 +16,6 @@
- (void)updateBufferForRange:(CMBlockBufferRef)existingBuffer data:(unsigned char *)data offset:(int)offset length:(int)nalLength;
- (void)submitDecodeBuffer:(unsigned char *)data length:(int)length;
- (int)submitDecodeBuffer:(unsigned char *)data length:(int)length;
@end