/*****************************************************************************
* display.c: display stream output module
*****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
+ * Copyright (C) 2001, 2002 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
#define SOUT_CFG_PREFIX "sout-display-"
vlc_module_begin();
+ set_shortname( _("Display"));
set_description( _("Display stream output") );
set_capability( "sout stream", 50 );
add_shortcut( "display" );
+ set_category( CAT_SOUT );
+ set_subcategory( SUBCAT_SOUT_STREAM );
add_bool( SOUT_CFG_PREFIX "audio", 1, NULL, AUDIO_TEXT,
AUDIO_LONGTEXT, VLC_TRUE );
add_bool( SOUT_CFG_PREFIX "video", 1, NULL, VIDEO_TEXT,
p_sys = malloc( sizeof( sout_stream_sys_t ) );
p_sys->p_input = vlc_object_find( p_stream, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
+ FIND_PARENT );
if( !p_sys->p_input )
{
msg_Err( p_stream, "cannot find p_input" );