mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 04:42:06 +00:00
miracle-wfdctl: do not launch gstreamer if DO_NOT_LAUNCH_GST environment
variable is set while miracle-wfdctl running
This commit is contained in:
parent
99497fbb55
commit
5a3f746d4d
1 changed files with 4 additions and 0 deletions
|
@ -633,6 +633,10 @@ static int wfd_out_session_post_handle_play(sd_event_source *source,
|
|||
sd_event_source_unref(source);
|
||||
wfd_out_session(s)->gst_launch_source = NULL;
|
||||
|
||||
if(getenv("DO_NOT_LAUNCH_GST")) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
r = wfd_out_session_launch_gst(s, &gst);
|
||||
if(0 > r) {
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue