transmitter: Correct error handling 03/20003/3
authorNaoko Tanibata <tnaoko@jp.adit-jv.com>
Fri, 8 Feb 2019 13:31:11 +0000 (22:31 +0900)
committerNaoko Tanibata <tnaoko@jp.adit-jv.com>
Fri, 15 Feb 2019 09:26:55 +0000 (18:26 +0900)
commit3f28f47c6d21a708d5ca1d8041a143fce23a574b
treeb8ddf3a9d6b2fafd45262be5d434a4f9232eadd4
parentadf1ab215d4b8cef2ab4220e295b206ce7f14b10
transmitter: Correct error handling

When drm_get_dma_fd_from_view() fails, it returns negative value.
Therefore output->renderer->dmafd shall be compared with a negative in error handling.

Bug-AGL: SPEC-2057

Change-Id: I5457e7db8ff8673cdf32a65ff2c17721bfc8d7f0
Signed-off-by: Naoko Tanibata <tnaoko@jp.adit-jv.com>
waltham-transmitter/transmitter-plugin/output.c