<html><head></head><body><div class="gmail_quote">Le 26 juin 2017 19:20:13 GMT+02:00, Steve Lhomme <robux4@videolabs.io> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">since they are mutually exclusive<br />---<br /> modules/video_filter/deinterlace/deinterlace.h | 6 ++++--<br /> 1 file changed, 4 insertions(+), 2 deletions(-)<br /><br />diff --git a/modules/video_filter/deinterlace/deinterlace.h b/modules/video_filter/deinterlace/deinterlace.h<br />index 93ae1d255b..00fddb74ec 100644<br />--- a/modules/video_filter/deinterlace/deinterlace.h<br />+++ b/modules/video_filter/deinterlace/deinterlace.h<br />@@ -119,8 +119,10 @@ struct filter_sys_t<br /> picture_t *pp_history[HISTORY_SIZE];<br /> <br /> /* Algorithm-specific substructures */<br />- phosphor_sys_t phosphor; /**< Phosphor algorithm state. */<br />- ivtc_sys_t ivtc; /**< IVTC algorithm state. */<br />+ union {<br />+ phosphor_sys_t phosphor; /**< Phosphor algorithm state. */<br />+ ivtc_sys_t ivtc; /**< IVTC algorithm state. */<br />+ };<br /> };<br /> <br /> /*****************************************************************************</pre></blockquote></div><br clear="all">Looks OK, bjt I haven't checked if initialization is still fine.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>