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:28:51 +0000 |
commit | 5287483228fa1e28f3217a54606cfe760c6582bd (patch) | |
tree | e4d35d1ff64d67f379738afac7e3660c4ee112ce /waltham-transmitter | |
parent | e448fc5d81346427815ac42961cfe05561878e54 (diff) |
output:don't push surface to remote if receiver not readyhalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut/8.0.6halibut/8.0.5halibut/8.0.48.0.68.0.58.0.4halibut
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')
-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) { |