[vlc-devel] [RFC PATCH 4/8] decoder: notify the input_thread in case of error
Rémi Denis-Courmont
remi at remlab.net
Thu Apr 21 19:11:00 CEST 2016
On Thursday 21 April 2016 18:24:34 Thomas Guillem wrote:
> ---
> src/input/decoder.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
>
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index 28f53f8..32d656d 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -69,6 +69,7 @@ struct decoder_owner_sys_t
> sout_packetizer_input_t *p_sout_input;
>
> bool b_notify_input;
> + enum decoder_state current_state; /* protected with lock */
Either use b_error or remove it.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list