added code to launch a stream and decode and render the stream
This commit is contained in:
parent
1ef314d3bd
commit
e0cf044d60
16 changed files with 382 additions and 101 deletions
|
|
@ -47,7 +47,7 @@ static int BUFFER_LENGTH = 131072;
|
|||
if (firstStart)
|
||||
{
|
||||
// decode the first i-1 bytes and render a frame
|
||||
[self.decoder decode:self.byteBuffer length:i];
|
||||
//[self.decoder decode:self.byteBuffer length:i];
|
||||
[self.target performSelectorOnMainThread:@selector(setNeedsDisplay) withObject:NULL waitUntilDone:FALSE];
|
||||
|
||||
// move offset back to beginning of start sequence
|
||||
|
|
|
|||
Loading…
Reference in a new issue