]> git.sesse.net Git - vlc/blobdiff - include/input.h
. fix� une b�vue dans la YUV 8 bits
[vlc] / include / input.h
index 07c231ad2df67db2d9bd5d7f42b3cb7b9665d97c..488b34153e013306fe37e17be1f030fff7ca01e6 100644 (file)
@@ -9,16 +9,15 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- *
+ * 
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -170,7 +169,7 @@ typedef struct es_descriptor_t
 #define MPEG2_AUDIO_ES          0x04
 #define AC3_AUDIO_ES            0x81
 #define DVD_SPU_ES             0x82           /* 0x82 might violate the norm */
-
+#define LPCM_AUDIO_ES           0x83
 /*****************************************************************************
  * program_descriptor_t
  *****************************************************************************
@@ -329,8 +328,8 @@ typedef struct input_thread_s
     /* Input method description */
     int                         i_method;                    /* input method */
     int                         i_handle;          /* file/socket descriptor */
-    char *                      psz_source;                        /* source */
-    int                         i_port;                     /* port number */
+    char *                      p_source;                          /* source */
+    int                         i_port;                       /* port number */
     int                         i_vlan;                /* id for vlan method */
     input_open_t *              p_Open;              /* opener of the method */
     input_read_t *              p_Read;                  /* reading function */
@@ -372,7 +371,7 @@ typedef struct input_thread_s
 /*****************************************************************************
  * Prototypes
  *****************************************************************************/
-input_thread_t *input_CreateThread      ( int i_method, char *psz_source, int i_port,
+input_thread_t *input_CreateThread      ( int i_method, void *p_source, int i_port,
                                           int i_vlan, p_vout_thread_t p_vout,
                                           p_aout_thread_t p_aout, int *pi_status );
 void            input_DestroyThread     ( input_thread_t *p_input, int *pi_status );