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

Cosmetics.

parent b51fa630
...@@ -63,26 +63,23 @@ enum ...@@ -63,26 +63,23 @@ enum
typedef struct typedef struct
{ {
int i_type;
mtime_t i_date;
union
{
struct
{
es_out_id_t *p_es; es_out_id_t *p_es;
es_format_t *p_fmt; es_format_t *p_fmt;
} add; } ts_cmd_add_t
struct
{ typedef struct
{
es_out_id_t *p_es; es_out_id_t *p_es;
} del; } ts_cmd_del_t;
struct
{ typedef struct
{
es_out_id_t *p_es; es_out_id_t *p_es;
block_t *p_block; block_t *p_block;
} send; } ts_cmd_send_t;
struct
{ typedef struct
{
int i_query; int i_query;
bool b_bool; bool b_bool;
...@@ -94,7 +91,18 @@ typedef struct ...@@ -94,7 +91,18 @@ typedef struct
vlc_epg_t *p_epg; vlc_epg_t *p_epg;
es_out_id_t *p_es; es_out_id_t *p_es;
es_format_t *p_fmt; es_format_t *p_fmt;
} control; } ts_cmd_control_t;
typedef struct
{
int i_type;
mtime_t i_date;
union
{
ts_cmd_add_t add;
ts_cmd_del_t del;
ts_cmd_send_t send;
ts_cmd_control_t 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