qt: playlist: use item title if available
[vlc.git] / modules / access / avio.h
blobae62d6c8909b606023ff10947842455af2b3369c
1 /*****************************************************************************
2 * avio.h: access using libavformat library
3 *****************************************************************************
4 * Copyright (C) 2009 Laurent Aimar
6 * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation; either version 2.1 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21 *****************************************************************************/
23 #include <libavformat/avformat.h>
24 #include <libavformat/avio.h>
26 int OpenAvio (vlc_object_t *);
27 void CloseAvio(vlc_object_t *);
28 int OutOpenAvio (vlc_object_t *);
29 void OutCloseAvio(vlc_object_t *);
31 #define AVIO_MODULE \
32 set_shortname(N_("AVIO")) \
33 set_description(N_("libavformat AVIO access") ) \
34 set_category(CAT_INPUT) \
35 set_subcategory(SUBCAT_INPUT_ACCESS) \
36 set_capability("access", -1) \
37 add_shortcut("avio", "rtmp", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts") \
38 set_callbacks(OpenAvio, CloseAvio) \
39 set_section(N_("Input"), NULL ) \
40 add_string("avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true) \
41 add_submodule () \
42 set_shortname( "AVIO" ) \
43 set_description( N_("libavformat AVIO access output") ) \
44 set_capability( "sout access", -1 ) \
45 set_category( CAT_SOUT ) \
46 set_subcategory( SUBCAT_SOUT_ACO ) \
47 add_shortcut( "avio", "rtmp" ) \
48 set_callbacks( OutOpenAvio, OutCloseAvio) \
49 set_section(N_("Stream output"), NULL ) \
50 add_string("sout-avio-options", NULL, AV_OPTIONS_TEXT, AV_OPTIONS_LONGTEXT, true)