Commit ce67728a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Stick b_error to object types that actually use it

parent d5821107
......@@ -56,6 +56,7 @@ struct decoder_t
/* Module properties */
module_t * p_module;
decoder_sys_t * p_sys;
bool b_error;
/* Input format ie from demuxer (XXX: a lot of field could be invalid) */
es_format_t fmt_in;
......
......@@ -536,7 +536,6 @@ typedef int ( * vlc_callback_t ) ( vlc_object_t *, /* variable's object */
int i_flags; \
\
/* Object properties */ \
volatile bool b_error; /**< set by the object */ \
volatile bool b_die; /**< set by the outside */ \
bool b_force; /**< set by the outside (eg. module_need()) */ \
\
......
......@@ -267,6 +267,7 @@ struct input_thread_t
{
VLC_COMMON_MEMBERS
bool b_error;
bool b_eof;
bool b_preparsing;
bool b_dead;
......
......@@ -120,8 +120,8 @@ enum vlc_module_properties
/**
* Current plugin ABI version
*/
# define MODULE_SYMBOL 1_1_0e
# define MODULE_SUFFIX "__1_1_0e"
# define MODULE_SYMBOL 1_1_0f
# define MODULE_SUFFIX "__1_1_0f"
/*****************************************************************************
* Add a few defines. You do not want to read this section. Really.
......
......@@ -52,6 +52,7 @@ typedef struct stream_text_t stream_text_t;
struct stream_t
{
VLC_COMMON_MEMBERS
bool b_error;
/* Module properties for stream filter */
module_t *p_module;
......
......@@ -108,6 +108,7 @@ typedef struct vout_thread_sys_t vout_thread_sys_t;
struct vout_thread_t
{
VLC_COMMON_MEMBERS
bool b_error;
/** \name Thread properties and locks */
/**@{*/
......
......@@ -53,6 +53,7 @@ struct rtmp_control_thread_t
VLC_COMMON_MEMBERS
int fd;
bool b_error;
vlc_url_t url;
char *psz_application;
......
......@@ -25,6 +25,7 @@ struct sout_stream_sys_t
vlc_cond_t cond;
picture_t * pp_pics[PICTURE_RING_SIZE];
int i_first_pic, i_last_pic;
bool b_error;
/* Audio */
vlc_fourcc_t i_acodec; /* codec audio (0 if not transcode) */
......
......@@ -128,7 +128,6 @@ void *__vlc_custom_create( vlc_object_t *p_this, size_t i_size,
p_priv->psz_name = NULL;
p_new->b_die = false;
p_new->b_error = false;
p_new->b_force = false;
p_new->psz_header = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment