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
parent c1a1dbe881
commit f7fdd7cb45
3 changed files with 67 additions and 29 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