Fixed a crash caused by yadif deinterlacer on Windows XP
[vlc/solaris.git] / src / stream_output / stream_output.h
blob1607927847606e0ce44f71de15451756ba32e199
1 /*****************************************************************************
2 * stream_output.h : internal stream output
3 *****************************************************************************
4 * Copyright (C) 2002-2005 VLC authors and VideoLAN
5 * $Id$
7 * Authors: Christophe Massiot <massiot@via.ecp.fr>
8 * Laurent Aimar <fenrir@via.ecp.fr>
9 * Eric Petit <titer@videolan.org>
10 * Jean-Paul Saman <jpsaman #_at_# m2x.nl>
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU Lesser General Public License as published by
14 * the Free Software Foundation; either version 2.1 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program; if not, write to the Free Software Foundation,
24 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25 ***************************************************************************/
27 #ifndef VLC_SRC_STREAMOUT_H
28 # define VLC_SRC_STREAMOUT_H 1
30 # include <vlc_sout.h>
31 # include <vlc_network.h>
33 /****************************************************************************
34 * sout_packetizer_input_t: p_sout <-> p_packetizer
35 ****************************************************************************/
36 struct sout_packetizer_input_t
38 sout_instance_t *p_sout;
40 es_format_t *p_fmt;
42 sout_stream_id_t *id;
45 sout_instance_t *sout_NewInstance( vlc_object_t *, const char * );
46 #define sout_NewInstance(a,b) sout_NewInstance(VLC_OBJECT(a),b)
47 void sout_DeleteInstance( sout_instance_t * );
49 sout_packetizer_input_t *sout_InputNew( sout_instance_t *, es_format_t * );
50 int sout_InputDelete( sout_packetizer_input_t * );
51 int sout_InputSendBuffer( sout_packetizer_input_t *, block_t* );
53 /* Announce system */
55 struct session_descriptor_t
57 struct sockaddr_storage orig;
58 socklen_t origlen;
59 struct sockaddr_storage addr;
60 socklen_t addrlen;
62 char *psz_sdp;
63 bool b_ssm;
66 struct sap_handler_t *SAP_Create (vlc_object_t *);
67 void SAP_Destroy (struct sap_handler_t *);
68 int SAP_Add (struct sap_handler_t *, session_descriptor_t *);
69 void SAP_Del (struct sap_handler_t *, const session_descriptor_t *);
71 #endif