input: add input_resource_PutSout()
commit603b9ced95eb1aa78132663a36be923064a8d3ff
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 19 Jan 2021 17:56:51 +0000 (19 19:56 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 21 Jan 2021 19:52:23 +0000 (21 21:52 +0200)
treee2189bc0811d04e2c5b4d6be224418ffa9c65076
parent0c311bfbda0f05cfea613d71ab0ce3aa0b69bff5
input: add input_resource_PutSout()

This mimicks input_resource_PutVout(), except in the case that the
second parameter is NULL:
- PutVout() asserts that that is not the case.
- PutSout() destroys the resource sout.
It is unclear if this is really intended. If not, this should be
addressed later on (this patch makes no functional changes).
src/input/input.c
src/input/resource.c
src/input/resource.h