
Data Structures | |
| struct | bridged_es_t |
| struct | bridge_t |
| struct | out_sout_stream_sys_t |
| struct | in_sout_stream_sys_t |
| struct | sout_stream_id_t |
Defines | |
| #define | ID_TEXT N_("ID") |
| #define | ID_LONGTEXT |
| #define | DEST_TEXT N_( "Destination bridge-in name" ) |
| #define | DEST_LONGTEXT |
| #define | DELAY_TEXT N_("Delay") |
| #define | DELAY_LONGTEXT |
| #define | ID_OFFSET_TEXT N_("ID Offset") |
| #define | ID_OFFSET_LONGTEXT |
| #define | NAME_TEXT N_( "Name of current instance" ) |
| #define | NAME_LONGTEXT |
| #define | PLACEHOLDER_TEXT N_( "Fallback to placeholder stream when out of data" ) |
| #define | PLACEHOLDER_LONGTEXT |
| #define | PLACEHOLDER_DELAY_TEXT N_( "Placeholder delay" ) |
| #define | PLACEHOLDER_DELAY_LONGTEXT |
| #define | PLACEHOLDER_IFRAME_TEXT N_( "Wait for I frame before toggling placholder" ) |
| #define | PLACEHOLDER_IFRAME_LONGTEXT |
| #define | SOUT_CFG_PREFIX_OUT "sout-bridge-out-" |
| #define | SOUT_CFG_PREFIX_IN "sout-bridge-in-" |
Enumerations | |
| enum | { placeholder_on, placeholder_off } |
Functions | |
| static int | OpenOut (vlc_object_t *) |
| static void | CloseOut (vlc_object_t *) |
| static int | OpenIn (vlc_object_t *) |
| static void | CloseIn (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static sout_stream_id_t * | AddOut (sout_stream_t *, es_format_t *) |
| static int | DelOut (sout_stream_t *, sout_stream_id_t *) |
| static int | SendOut (sout_stream_t *, sout_stream_id_t *, block_t *) |
| static sout_stream_id_t * | AddIn (sout_stream_t *, es_format_t *) |
| static int | DelIn (sout_stream_t *, sout_stream_id_t *) |
| static int | SendIn (sout_stream_t *, sout_stream_id_t *, block_t *) |
Variables | |
| static const char *const | ppsz_sout_options_out [] |
| static const char *const | ppsz_sout_options_in [] |
| #define DELAY_LONGTEXT |
Value:
N_("Pictures coming from the picture video outputs " \ "will be delayed according to this value (in milliseconds, should be "\ ">= 100 ms). For high values, you will need to raise caching values." )
| #define DELAY_TEXT N_("Delay") |
| #define DEST_LONGTEXT |
Value:
N_( \ "Name of the destination bridge-in. If you do not need more " \ "than one bridge-in at a time, you can discard this option." )
| #define DEST_TEXT N_( "Destination bridge-in name" ) |
| #define ID_LONGTEXT |
Value:
N_( \ "Integer identifier for this elementary stream. This will be used to " \ "\"find\" this stream later." )
| #define ID_OFFSET_LONGTEXT |
Value:
N_("Offset to add to the stream IDs specified in " \ "bridge_out to obtain the stream IDs bridge_in will register.")
| #define ID_OFFSET_TEXT N_("ID Offset") |
| #define ID_TEXT N_("ID") |
| #define NAME_LONGTEXT |
Value:
N_( \ "Name of this bridge-in instance. If you do not need more " \ "than one bridge-in at a time, you can discard this option." )
| #define NAME_TEXT N_( "Name of current instance" ) |
| #define PLACEHOLDER_DELAY_LONGTEXT |
Value:
N_( \ "Delay (in ms) before the placeholder kicks in." )
| #define PLACEHOLDER_DELAY_TEXT N_( "Placeholder delay" ) |
| #define PLACEHOLDER_IFRAME_LONGTEXT |
Value:
N_( \ "If enabled, switching between the placeholder and the normal stream " \ "will only occur on I frames. This will remove artifacts on stream " \ "switching at the expense of a slightly longer delay, depending on " \ "the frequence of I frames in the streams." )
| #define PLACEHOLDER_IFRAME_TEXT N_( "Wait for I frame before toggling placholder" ) |
| #define PLACEHOLDER_LONGTEXT |
Value:
N_( \ "If set to true, the bridge will discard all input elementary streams " \ "except if it doesn't receive data from another bridge-in. This can " \ "be used to configure a place holder stream when the real source " \ "breaks. Source and placeholder streams should have the same format. " )
| #define PLACEHOLDER_TEXT N_( "Fallback to placeholder stream when out of data" ) |
| #define SOUT_CFG_PREFIX_IN "sout-bridge-in-" |
Referenced by OpenIn().
| #define SOUT_CFG_PREFIX_OUT "sout-bridge-out-" |
Referenced by OpenOut().
| static sout_stream_id_t * AddIn | ( | sout_stream_t * | p_stream, | |
| es_format_t * | p_fmt | |||
| ) | [static] |
References AUDIO_ES, in_sout_stream_sys_t::b_placeholder, es_format_t::i_cat, sout_stream_id_t::id, sout_stream_sys_t::id, in_sout_stream_sys_t::id_audio, in_sout_stream_sys_t::id_video, msg_Err, sout_stream_t::p_next, sout_stream_t::p_sys, p_sys, sout_stream_t::pf_add, and VIDEO_ES.
Referenced by OpenIn().
| static sout_stream_id_t * AddOut | ( | sout_stream_t * | p_stream, | |
| es_format_t * | p_fmt | |||
| ) | [static] |
References out_sout_stream_sys_t::b_inited, bridged_es_t::fmt, i, out_sout_stream_sys_t::i_id, es_format_t::i_id, msg_Dbg, msg_Err, out_sout_stream_sys_t::p_es, sout_stream_t::p_libvlc, out_sout_stream_sys_t::p_lock, sout_stream_t::p_sys, p_sys, out_sout_stream_sys_t::psz_name, var_Create, var_GetAddress, var_SetAddress, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_TS_INVALID, VLC_VAR_ADDRESS, xmalloc(), and xrealloc().
Referenced by OpenOut().
| static void CloseIn | ( | vlc_object_t * | p_this | ) | [static] |
| static void CloseOut | ( | vlc_object_t * | p_this | ) | [static] |
| static int DelIn | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id | |||
| ) | [static] |
References sout_stream_id_t::id, in_sout_stream_sys_t::id_audio, in_sout_stream_sys_t::id_video, sout_stream_t::p_next, sout_stream_t::p_sys, p_sys, and sout_stream_t::pf_del.
Referenced by OpenIn().
| static int DelOut | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id | |||
| ) | [static] |
| static int OpenIn | ( | vlc_object_t * | p_this | ) | [static] |
References AddIn(), asprintf(), vlc_value_t::b_bool, in_sout_stream_sys_t::b_placeholder, in_sout_stream_sys_t::b_switch_on_iframe, config_ChainParse, DelIn(), in_sout_stream_sys_t::i_delay, in_sout_stream_sys_t::i_id_offset, vlc_value_t::i_int, in_sout_stream_sys_t::i_last_audio, in_sout_stream_sys_t::i_last_video, sout_instance_t::i_out_pace_nocontrol, in_sout_stream_sys_t::i_placeholder_delay, in_sout_stream_sys_t::i_state, in_sout_stream_sys_t::id_audio, in_sout_stream_sys_t::id_video, msg_Err, vlc_value_t::p_address, sout_stream_t::p_cfg, vlc_object_t::p_libvlc, in_sout_stream_sys_t::p_lock, sout_stream_t::p_next, sout_stream_t::p_sout, p_stream, sout_stream_t::p_sys, p_sys, sout_stream_t::pf_add, sout_stream_t::pf_del, sout_stream_t::pf_send, placeholder_on, ppsz_sout_options_in, in_sout_stream_sys_t::psz_name, vlc_value_t::psz_string, SendIn(), SOUT_CFG_PREFIX_IN, unlikely, var_Create, var_Get, VLC_EGENERIC, VLC_ENOMEM, VLC_SUCCESS, VLC_TS_INVALID, and VLC_VAR_MUTEX.
| static int OpenOut | ( | vlc_object_t * | p_this | ) | [static] |
References AddOut(), asprintf(), out_sout_stream_sys_t::b_inited, config_ChainParse, DelOut(), out_sout_stream_sys_t::i_id, vlc_value_t::i_int, sout_instance_t::i_out_pace_nocontrol, vlc_value_t::p_address, sout_stream_t::p_cfg, vlc_object_t::p_libvlc, out_sout_stream_sys_t::p_lock, sout_stream_t::p_sout, p_stream, sout_stream_t::p_sys, p_sys, sout_stream_t::pf_add, sout_stream_t::pf_del, sout_stream_t::pf_send, ppsz_sout_options_out, out_sout_stream_sys_t::psz_name, vlc_value_t::psz_string, SendOut(), SOUT_CFG_PREFIX_OUT, unlikely, var_Create, var_Get, VLC_ENOMEM, VLC_SUCCESS, and VLC_VAR_MUTEX.
| static int SendIn | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | p_buffer | |||
| ) | [static] |
References AUDIO_ES, in_sout_stream_sys_t::b_placeholder, in_sout_stream_sys_t::b_switch_on_iframe, block_ChainRelease(), BLOCK_FLAG_TYPE_I, block_Release(), i, sout_stream_id_t::i_cat, in_sout_stream_sys_t::i_delay, block_t::i_dts, block_t::i_flags, in_sout_stream_sys_t::i_id_offset, in_sout_stream_sys_t::i_last_audio, in_sout_stream_sys_t::i_last_video, in_sout_stream_sys_t::i_placeholder_delay, block_t::i_pts, in_sout_stream_sys_t::i_state, sout_stream_id_t::id, in_sout_stream_sys_t::id_audio, in_sout_stream_sys_t::id_video, mdate(), msg_Dbg, msg_Warn, sout_stream_t::p_libvlc, in_sout_stream_sys_t::p_lock, block_t::p_next, sout_stream_t::p_next, sout_stream_t::p_sys, p_sys, sout_stream_t::pf_add, sout_stream_t::pf_del, sout_stream_t::pf_send, placeholder_off, placeholder_on, in_sout_stream_sys_t::psz_name, var_Destroy, var_GetAddress, VIDEO_ES, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_SUCCESS.
Referenced by OpenIn().
| static int SendOut | ( | sout_stream_t * | p_stream, | |
| sout_stream_id_t * | id, | |||
| block_t * | p_buffer | |||
| ) | [static] |
References block_ChainRelease(), out_sout_stream_sys_t::p_es, out_sout_stream_sys_t::p_lock, block_t::p_next, sout_stream_t::p_sys, p_sys, bridged_es_t::pp_last, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_SUCCESS.
Referenced by OpenOut().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const char* const ppsz_sout_options_in[] [static] |
Initial value:
{
"delay", "id-offset", "name",
"placeholder", "placeholder-delay", "placeholder-switch-on-iframe",
NULL
}
Referenced by OpenIn().
const char* const ppsz_sout_options_out[] [static] |
1.5.6