summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter
diff options
context:
space:
mode:
authorVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-18 11:14:56 +0900
committerVeeresh Kadasani <external.vkadasani@jp.adit-jv.com>2019-11-18 02:28:51 +0000
commit5287483228fa1e28f3217a54606cfe760c6582bd (patch)
treee4d35d1ff64d67f379738afac7e3660c4ee112ce /waltham-transmitter
parente448fc5d81346427815ac42961cfe05561878e54 (diff)
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.c2
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) {