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,10 +179,13 @@ public class VideoDepacketizer {
|
||||
avcFrameDataLength = 0;
|
||||
}
|
||||
|
||||
// FIXME: This check shouldn't be needed
|
||||
if (avcFrameDataChain != null) {
|
||||
// Add the payload data to the chain
|
||||
avcFrameDataChain.add(location);
|
||||
avcFrameDataLength += location.length;
|
||||
}
|
||||
}
|
||||
|
||||
public void addInputData(VideoPacket packet)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user