diff options
author | Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> | 2019-11-18 11:14:56 +0900 |
---|---|---|
committer | Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> | 2019-11-18 02:29:32 +0000 |
commit | 54fe9ce01eb08e8266593dbc8da2c2317de670f4 (patch) | |
tree | e4d35d1ff64d67f379738afac7e3660c4ee112ce /waltham-transmitter/transmitter-plugin | |
parent | aa7115087d914a2438ca026a44deb9a4882f8760 (diff) |
output:don't push surface to remote if receiver not readyjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish_9.99.1jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.2jellyfish/9.99.1icefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.19.99.49.99.39.99.29.99.18.99.58.99.48.99.38.99.28.99.1
Bug-AGL:SPEC-2965
If a surface is put on the transmitter output
without starting the waltham-receiver there was
a crash because of null pointer access.
Change-Id: Iec331e0077a59397cd579923bdabe5f906c2fba1
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
Diffstat (limited to 'waltham-transmitter/transmitter-plugin')
-rw-r--r-- | waltham-transmitter/transmitter-plugin/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waltham-transmitter/transmitter-plugin/output.c b/waltham-transmitter/transmitter-plugin/output.c index 853889b..df834a5 100644 --- a/waltham-transmitter/transmitter-plugin/output.c +++ b/waltham-transmitter/transmitter-plugin/output.c @@ -191,7 +191,7 @@ transmitter_output_repaint(struct weston_output *base, if (wl_list_empty(&compositor->view_list)) goto out; - if (remote->status == WESTON_TRANSMITTER_CONNECTION_DISCONNECTED) + if (remote->status != WESTON_TRANSMITTER_CONNECTION_READY) goto out; wl_list_for_each_reverse(view, &compositor->view_list, link) { |