[vlc-devel] commit: Dummy: vlc is only a valid shortcut for access/demux ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Apr 26 18:46:50 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 26 19:23:38 2009 +0300| [e196e6ec2292c48ee3cce526bc199e090b34b309] | committer: Rémi Denis-Courmont 

Dummy: vlc is only a valid shortcut for access/demux

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e196e6ec2292c48ee3cce526bc199e090b34b309
---

 modules/misc/dummy/dummy.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/misc/dummy/dummy.c b/modules/misc/dummy/dummy.c
index fdaf8df..22b7469 100644
--- a/modules/misc/dummy/dummy.c
+++ b/modules/misc/dummy/dummy.c
@@ -61,7 +61,6 @@ vlc_module_begin ()
     set_shortname( N_("Dummy"))
     set_description( N_("Dummy interface function") )
     set_capability( "interface", 0 )
-    add_shortcut( "vlc" )
     set_callbacks( OpenIntf, NULL )
 #ifdef WIN32
     set_section( N_( "Dummy Interface" ), NULL )
@@ -72,10 +71,12 @@ vlc_module_begin ()
         set_description( N_("Dummy access function") )
         set_capability( "access", 0 )
         set_callbacks( OpenAccess, NULL )
+        add_shortcut( "vlc" )
     add_submodule ()
         set_description( N_("Dummy demux function") )
         set_capability( "demux", 0 )
         set_callbacks( OpenDemux, CloseDemux )
+        add_shortcut( "vlc" )
     add_submodule ()
         set_section( N_( "Dummy decoder" ), NULL )
         set_description( N_("Dummy decoder function") )




More information about the vlc-devel mailing list