set_description( _("File stream ouput") );
set_capability( "sout access", 50 );
add_shortcut( "file" );
+ add_shortcut( "stream" );
set_callbacks( Open, Close );
vlc_module_end();
p_access->pf_seek = Seek;
msg_Dbg( p_access, "file access output opened (`%s')", p_access->psz_name );
+
+ /* Update pace control flag */
+ if( p_access->psz_access && !strcmp( p_access->psz_access, "stream" ) )
+ p_access->p_sout->i_out_pace_nocontrol++;
+
return VLC_SUCCESS;
}
}
free( p_access->p_sys );
+ /* Update pace control flag */
+ if( p_access->psz_access && !strcmp( p_access->psz_access, "stream" ) )
+ p_access->p_sout->i_out_pace_nocontrol--;
+
msg_Dbg( p_access, "file access output closed" );
}