mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-15 04:06:24 +00:00
added code to launch a stream and decode and render the stream
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user