mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
[client] lgmp: fix timeout due to improper handling of pause/resume
This commit is contained in:
@@ -201,11 +201,17 @@ typedef struct LG_TransportOps
|
||||
LG_TransportStatus (*nextFrame)(LG_Transport * transport, bool useDMA,
|
||||
LG_TransportFrame * frame);
|
||||
void (*releaseFrame)(LG_Transport * transport, LG_TransportFrame * frame);
|
||||
/* Called by the frame consumer as it exits. A backend may release transient
|
||||
* stream resources; nextFrame must reacquire them when the consumer restarts. */
|
||||
void (*stopFrame)(LG_Transport * transport);
|
||||
|
||||
LG_TransportStatus (*nextPointer)(LG_Transport * transport,
|
||||
LG_TransportPointer * pointer);
|
||||
void (*releasePointer)(LG_Transport * transport,
|
||||
LG_TransportPointer * pointer);
|
||||
/* Called by the pointer consumer as it exits. A backend may release transient
|
||||
* stream resources; nextPointer must reacquire them when the consumer restarts. */
|
||||
void (*stopPointer)(LG_Transport * transport);
|
||||
|
||||
LG_TransportStatus (*sendControl)(LG_Transport * transport,
|
||||
const LG_TransportControl * control, LG_TransportControlToken * token);
|
||||
|
||||
Reference in New Issue
Block a user