mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-16 16:02:54 +02:00
stream_out: standard: add 'srt'
SRT is similar to UDP. Signed-off-by: Justin Kim <justin.kim@collabora.com> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
67cbd82882
commit
938fb514f5
@ -3887,7 +3887,7 @@ AM_CONDITIONAL([HAVE_LIRC], [test "${have_lirc}" = "yes"])
|
||||
dnl
|
||||
dnl SRT plugin
|
||||
dnl
|
||||
PKG_ENABLE_MODULES_VLC([SRT], [access_srt access_output_srt], [srt >= 1.2.0], [SRT input/output plugin], [auto])
|
||||
PKG_ENABLE_MODULES_VLC([SRT], [access_srt access_output_srt], [srt >= 1.2.0], [SRT input/output plugin], [auto], [], [], [-DENABLE_SRT])
|
||||
|
||||
EXTEND_HELP_STRING([Visualisations and Video filter plugins:])
|
||||
dnl
|
||||
|
@ -6,6 +6,7 @@ libstream_out_delay_plugin_la_SOURCES = stream_out/delay.c
|
||||
libstream_out_stats_plugin_la_SOURCES = stream_out/stats.c
|
||||
libstream_out_description_plugin_la_SOURCES = stream_out/description.c
|
||||
libstream_out_standard_plugin_la_SOURCES = stream_out/standard.c
|
||||
libstream_out_standard_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_access_output_srt)
|
||||
libstream_out_standard_plugin_la_LIBADD = $(SOCKET_LIBS)
|
||||
libstream_out_duplicate_plugin_la_SOURCES = stream_out/duplicate.c
|
||||
libstream_out_es_plugin_la_SOURCES = stream_out/es.c
|
||||
|
@ -82,11 +82,17 @@ static void Close ( vlc_object_t * );
|
||||
|
||||
#define SOUT_CFG_PREFIX "sout-standard-"
|
||||
|
||||
#ifdef ENABLE_SRT
|
||||
#define SRT_SHORTCUT "srt"
|
||||
#else
|
||||
#define SRT_SHORTCUT
|
||||
#endif
|
||||
|
||||
vlc_module_begin ()
|
||||
set_shortname( N_("Standard"))
|
||||
set_description( N_("Standard stream output") )
|
||||
set_capability( "sout stream", 50 )
|
||||
add_shortcut( "standard", "std", "file", "http", "udp" )
|
||||
add_shortcut( "standard", "std", "file", "http", "udp", SRT_SHORTCUT )
|
||||
set_category( CAT_SOUT )
|
||||
set_subcategory( SUBCAT_SOUT_STREAM )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user