mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 08:07:54 +00:00
Cancel the pending IDR frame request if we got a spurious IDR frame after a stream discontinuity
This commit is contained in:
1 parent
4ef1b8dc4c
commit
439afd15fa
1 file changed
+3
@@ -277,6 +277,9 @@ public class VideoDepacketizer {
|
||||
if (isReferencePictureNalu(cachedSpecialDesc.data[cachedSpecialDesc.offset+cachedSpecialDesc.length])) {
|
||||
// This is the NALU code for I-frame data
|
||||
waitingForIdrFrame = false;
|
||||
|
||||
// Cancel any pending IDR frame request
|
||||
waitingForNextSuccessfulFrame = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user