- vlc_value_t val;
-
- sout_CfgParse( p_stream, SOUT_CFG_PREFIX, ppsz_sout_options,
- p_stream->p_cfg );
-
- p_sys = malloc( sizeof( sout_stream_sys_t ) );
- p_sys->p_input = vlc_object_find( p_stream, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
- if( !p_sys->p_input )
- {
- msg_Err( p_stream, "cannot find p_input" );
- free( p_sys );
- return VLC_EGENERIC;
- }