1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-wfdctl: set XAUTHORITY and DISPLAY before create gstreamer

pipeline, and now we can pass device name to pulseaudio
This commit is contained in:
Derek Dai 2017-03-08 10:00:51 +08:00
parent 50f6ccf303
commit 07ca224397
No known key found for this signature in database
GPG key ID: E109CC97553EF009
7 changed files with 120 additions and 40 deletions

View file

@ -188,7 +188,7 @@ int wfd_session_teardown(struct wfd_session *s)
return session_vtbl[s->dir].teardown(s);;
}
wfd_session_free(s);
//wfd_session_free(s);
return 0;
}
@ -219,6 +219,7 @@ void wfd_session_free(struct wfd_session *s)
}
if(s->rtsp) {
rtsp_detach_event(s->rtsp);
rtsp_unref(s->rtsp);
s->rtsp = NULL;
}