Commit 0ec27002 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

dummy: change vlc: comments to vlc:// comments

parent 902be08a
/***************************************************************************** /*****************************************************************************
* input_dummy.c: dummy input plugin, to manage "vlc:***" special options * input_dummy.c: dummy input plugin, to manage "vlc://***" special options
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 the VideoLAN team * Copyright (C) 2001, 2002 the VideoLAN team
* $Id$ * $Id$
...@@ -154,7 +154,7 @@ int OpenDemux ( vlc_object_t *p_this ) ...@@ -154,7 +154,7 @@ int OpenDemux ( vlc_object_t *p_this )
p_demux->pf_control = DemuxControl; p_demux->pf_control = DemuxControl;
p_demux->p_sys = p_sys = malloc( sizeof( demux_sys_t ) ); p_demux->p_sys = p_sys = malloc( sizeof( demux_sys_t ) );
/* Check for a "vlc:nop" command */ /* Check for a "vlc://nop" command */
if( i_len == 3 && !strncasecmp( psz_name, "nop", 3 ) ) if( i_len == 3 && !strncasecmp( psz_name, "nop", 3 ) )
{ {
msg_Info( p_demux, "command `nop'" ); msg_Info( p_demux, "command `nop'" );
...@@ -162,7 +162,7 @@ int OpenDemux ( vlc_object_t *p_this ) ...@@ -162,7 +162,7 @@ int OpenDemux ( vlc_object_t *p_this )
return VLC_SUCCESS; return VLC_SUCCESS;
} }
/* Check for a "vlc:quit" command */ /* Check for a "vlc://quit" command */
if( i_len == 4 && !strncasecmp( psz_name, "quit", 4 ) ) if( i_len == 4 && !strncasecmp( psz_name, "quit", 4 ) )
{ {
msg_Info( p_demux, "command `quit'" ); msg_Info( p_demux, "command `quit'" );
...@@ -170,7 +170,7 @@ int OpenDemux ( vlc_object_t *p_this ) ...@@ -170,7 +170,7 @@ int OpenDemux ( vlc_object_t *p_this )
return VLC_SUCCESS; return VLC_SUCCESS;
} }
/* Check for a "vlc:pause:***" command */ /* Check for a "vlc://pause:***" command */
if( i_len > 6 && !strncasecmp( psz_name, "pause:", 6 ) ) if( i_len > 6 && !strncasecmp( psz_name, "pause:", 6 ) )
{ {
i_arg = atoi( psz_name + 6 ); i_arg = atoi( psz_name + 6 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment