VLC  4.0.0-dev
stream_output.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * stream_output.h : internal stream output
3  *****************************************************************************
4  * Copyright (C) 2002-2005 VLC authors and VideoLAN
5  *
6  * Authors: Christophe Massiot <massiot@via.ecp.fr>
7  * Laurent Aimar <fenrir@via.ecp.fr>
8  * Eric Petit <titer@videolan.org>
9  * Jean-Paul Saman <jpsaman #_at_# m2x.nl>
10  *
11  * This program is free software; you can redistribute it and/or modify it
12  * under the terms of the GNU Lesser General Public License as published by
13  * the Free Software Foundation; either version 2.1 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * along with this program; if not, write to the Free Software Foundation,
23  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  ***************************************************************************/
25 
26 #ifndef VLC_SRC_STREAMOUT_H
27 # define VLC_SRC_STREAMOUT_H 1
28 
29 # include <vlc_sout.h>
30 # include <vlc_network.h>
31 
32 /****************************************************************************
33  * sout_packetizer_input_t: p_sout <-> p_packetizer
34  ****************************************************************************/
36 {
38 
39  void *id;
40  bool b_flushed;
41 };
42 
44 #define sout_NewInstance(a,b) sout_NewInstance(VLC_OBJECT(a),b)
46 
48 
53 
55 {
56  SOUT_INPUT_SET_SPU_HIGHLIGHT, /* arg1=const vlc_spu_highlight_t *, can fail */
57 };
58 int sout_InputControl( sout_packetizer_input_t *, int i_query, ... );
60 
61 #endif
void * id
Definition: stream_output.h:39
Stream output modules interface.
int sout_InputControl(sout_packetizer_input_t *, int i_query,...)
Definition: stream_output.c:243
Definition: stream_output.h:56
int sout_InputSendBuffer(sout_packetizer_input_t *, block_t *)
Definition: stream_output.c:267
Definition: stream_output.h:35
#define sout_NewInstance(a, b)
Definition: stream_output.h:44
Definition: vlc_es.h:617
sout_instance_t * p_sout
Definition: stream_output.h:37
Definitions for sockets and low-level networking.
void sout_InputFlush(sout_packetizer_input_t *)
Definition: stream_output.c:254
sout_packetizer_input_t * sout_InputNew(sout_instance_t *, const es_format_t *)
Definition: stream_output.c:166
Stream output instance (FIXME: should be private to src/ to avoid invalid unsynchronized access) ...
Definition: vlc_sout.h:48
bool b_flushed
Definition: stream_output.h:40
void sout_DeleteInstance(sout_instance_t *)
Definition: stream_output.c:141
Definition: vlc_block.h:117
bool sout_InputIsEmpty(sout_packetizer_input_t *)
Definition: stream_output.c:216
sout_input_query_e
Definition: stream_output.h:54
bool sout_instance_ControlsPace(sout_instance_t *sout)
Definition: stream_output.c:153
VLC object common members.
Definition: vlc_objects.h:43
int sout_InputDelete(sout_packetizer_input_t *)
Definition: stream_output.c:200