mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wfdctl: handle gst messages and reflect state onto session
This commit is contained in:
parent
afec924d49
commit
49f3e5fbaa
3 changed files with 47 additions and 18 deletions
|
|
@ -120,7 +120,7 @@ enum wfd_session_state wfd_session_get_state(struct wfd_session *s)
|
|||
return s->state;
|
||||
}
|
||||
|
||||
static void wfd_session_set_state(struct wfd_session *s,
|
||||
void wfd_session_set_state(struct wfd_session *s,
|
||||
enum wfd_session_state state)
|
||||
{
|
||||
if(state == s->state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue