Commit 3945cc1e authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics.

parent b51fa630
...@@ -61,40 +61,48 @@ enum ...@@ -61,40 +61,48 @@ enum
C_CONTROL, C_CONTROL,
}; };
typedef struct
{
es_out_id_t *p_es;
es_format_t *p_fmt;
} ts_cmd_add_t
typedef struct
{
es_out_id_t *p_es;
} ts_cmd_del_t;
typedef struct
{
es_out_id_t *p_es;
block_t *p_block;
} ts_cmd_send_t;
typedef struct
{
int i_query;
bool b_bool;
bool *pb_bool;
int i_int;
int *pi_int;
int64_t i_i64;
vlc_meta_t *p_meta;
vlc_epg_t *p_epg;
es_out_id_t *p_es;
es_format_t *p_fmt;
} ts_cmd_control_t;
typedef struct typedef struct
{ {
int i_type; int i_type;
mtime_t i_date; mtime_t i_date;
union union
{ {
struct ts_cmd_add_t add;
{ ts_cmd_del_t del;
es_out_id_t *p_es; ts_cmd_send_t send;
es_format_t *p_fmt; ts_cmd_control_t control;
} add;
struct
{
es_out_id_t *p_es;
} del;
struct
{
es_out_id_t *p_es;
block_t *p_block;
} send;
struct
{
int i_query;
bool b_bool;
bool *pb_bool;
int i_int;
int *pi_int;
int64_t i_i64;
vlc_meta_t *p_meta;
vlc_epg_t *p_epg;
es_out_id_t *p_es;
es_format_t *p_fmt;
} control;
}; };
} ts_cmd_t; } ts_cmd_t;
......
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