[vlc-devel] commit: Sort options. (Antoine Cellerier )

git version control git at videolan.org
Sun Sep 21 02:18:39 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Sep 20 23:44:29 2008 +0200| [96ceeaa32eab6749c1e69cc21b724d591ab0e845] | committer: Antoine Cellerier 

Sort options.

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

 modules/stream_out/es.c |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/modules/stream_out/es.c b/modules/stream_out/es.c
index 907aa17..e390def 100644
--- a/modules/stream_out/es.c
+++ b/modules/stream_out/es.c
@@ -82,26 +82,29 @@ vlc_module_begin();
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_STREAM );
 
+    set_section( N_("Generic"), NULL );
     add_string( SOUT_CFG_PREFIX "access", "", NULL, ACCESS_TEXT,
                 ACCESS_LONGTEXT, true );
-    add_string( SOUT_CFG_PREFIX "access-audio", "", NULL, ACCESSA_TEXT,
-                ACCESSA_LONGTEXT, true );
-    add_string( SOUT_CFG_PREFIX "access-video", "", NULL, ACCESSV_TEXT,
-                ACCESSV_LONGTEXT, true );
-
     add_string( SOUT_CFG_PREFIX "mux", "", NULL, MUX_TEXT,
                 MUX_LONGTEXT, true );
-    add_string( SOUT_CFG_PREFIX "mux-audio", "", NULL, MUXA_TEXT,
-                MUXA_LONGTEXT, true );
-    add_string( SOUT_CFG_PREFIX "mux-video", "", NULL, MUXV_TEXT,
-                MUXV_LONGTEXT, true );
-
     add_string( SOUT_CFG_PREFIX "dst", "", NULL, DEST_TEXT,
                 DEST_LONGTEXT, true );
         change_unsafe();
+
+    set_section( N_("Audio"), NULL );
+    add_string( SOUT_CFG_PREFIX "access-audio", "", NULL, ACCESSA_TEXT,
+                ACCESSA_LONGTEXT, true );
+    add_string( SOUT_CFG_PREFIX "mux-audio", "", NULL, MUXA_TEXT,
+                MUXA_LONGTEXT, true );
     add_string( SOUT_CFG_PREFIX "dst-audio", "", NULL, DESTA_TEXT,
                 DESTA_LONGTEXT, true );
         change_unsafe();
+
+    set_section( N_("Video"), NULL );
+    add_string( SOUT_CFG_PREFIX "access-video", "", NULL, ACCESSV_TEXT,
+                ACCESSV_LONGTEXT, true );
+    add_string( SOUT_CFG_PREFIX "mux-video", "", NULL, MUXV_TEXT,
+                MUXV_LONGTEXT, true );
     add_string( SOUT_CFG_PREFIX "dst-video", "", NULL, DESTV_TEXT,
                 DESTV_LONGTEXT, true );
         change_unsafe();




More information about the vlc-devel mailing list