1
0
Fork 0
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:
Derek Dai 2017-03-17 15:12:45 +08:00
parent afec924d49
commit 49f3e5fbaa
No known key found for this signature in database
GPG key ID: E109CC97553EF009
3 changed files with 47 additions and 18 deletions

View file

@ -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) {