mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Hack around an issue where data gets added after the frame is thrown away
This commit is contained in:
parent
9b6e12497e
commit
c8c7512600
@ -179,9 +179,12 @@ public class VideoDepacketizer {
|
|||||||
avcFrameDataLength = 0;
|
avcFrameDataLength = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the payload data to the chain
|
// FIXME: This check shouldn't be needed
|
||||||
avcFrameDataChain.add(location);
|
if (avcFrameDataChain != null) {
|
||||||
avcFrameDataLength += location.length;
|
// Add the payload data to the chain
|
||||||
|
avcFrameDataChain.add(location);
|
||||||
|
avcFrameDataLength += location.length;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addInputData(VideoPacket packet)
|
public void addInputData(VideoPacket packet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user