mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-19 14:40:34 +00:00
Add capability for the video decoder to request an IDR frame
This commit is contained in:
@@ -56,6 +56,12 @@ void destroyControlStream(void) {
|
||||
PltCloseEvent(&resyncEvent);
|
||||
}
|
||||
|
||||
/* Resync on demand by the decoder */
|
||||
void resyncOnDemand(void) {
|
||||
// FIXME: Send ranges
|
||||
PltSetEvent(&resyncEvent);
|
||||
}
|
||||
|
||||
/* Resync if the connection is too slow */
|
||||
void connectionSinkTooSlow(int startFrame, int endFrame) {
|
||||
// FIXME: Send ranges
|
||||
|
||||
Reference in New Issue
Block a user