-#define INPUT_METHOD_NONE 0 /* input thread is inactive */
-#define INPUT_METHOD_TS_FILE 10 /* TS stream is read from a file */
-#define INPUT_METHOD_TS_UCAST 20 /* TS UDP unicast */
-#define INPUT_METHOD_TS_MCAST 21 /* TS UDP multicast */
-#define INPUT_METHOD_TS_BCAST 22 /* TS UDP broadcast */
-#define INPUT_METHOD_TS_VLAN_BCAST 32 /* TS UDP broadcast with VLANs */
-
-/*******************************************************************************
- * input_cfg_t: input thread configuration structure
- *******************************************************************************
- * This structure is passed as a parameter to input_CreateTtread(). It includes
- * several fields describing potential properties of a new object.
- * The 'i_properties' field allow to set only a subset of the required
- * properties, asking the called function to use default settings for
- * the other ones.
- *******************************************************************************/
-typedef struct input_cfg_struct
-{
- u64 i_properties;
-
- /* Input method properties */
- int i_method; /* input method */
- char * psz_filename; /* filename */
- char * psz_hostname; /* server hostname */
- char * psz_ip; /* server IP */
- int i_port; /* port */
- int i_vlan; /* vlan number */
-
- /* ??... default settings for new decoders */
- struct aout_thread_s * p_aout; /* audio output thread structure */
-
-} input_cfg_t;
-
-/* Properties flags */
-#define INPUT_CFG_METHOD (1 << 0)
-#define INPUT_CFG_FILENAME (1 << 4)
-#define INPUT_CFG_HOSTNAME (1 << 8)
-#define INPUT_CFG_IP (1 << 9)
-#define INPUT_CFG_PORT (1 << 10)
-#define INPUT_CFG_VLAN (1 << 11)
-
-/******************************************************************************
+#define INPUT_METHOD_NONE 0 /* input thread is inactive */
+#define INPUT_METHOD_TS_FILE 10 /* TS stream is read from a file */
+#define INPUT_METHOD_TS_UCAST 20 /* TS UDP unicast */
+#define INPUT_METHOD_TS_MCAST 21 /* TS UDP multicast */
+#define INPUT_METHOD_TS_BCAST 22 /* TS UDP broadcast */
+#define INPUT_METHOD_TS_VLAN_BCAST 32 /* TS UDP broadcast with VLANs */
+
+/*****************************************************************************