[xiph-commits] r15279 - trunk/vorbis-tools/ogginfo

ivo at svn.xiph.org ivo at svn.xiph.org
Tue Sep 9 13:22:28 PDT 2008


Author: ivo
Date: 2008-09-09 13:22:27 -0700 (Tue, 09 Sep 2008)
New Revision: 15279

Modified:
   trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
Change examples to show that other file extensions are possible.

Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c	2008-09-09 17:14:45 UTC (rev 15278)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c	2008-09-09 20:22:27 UTC (rev 15279)
@@ -400,7 +400,7 @@
                        "information follows...\n"), stream->num);
 
                 info(_("Version: %d.%d.%d\n"), inf->ti.version_major, inf->ti.version_minor, inf->ti.version_subminor);
-   
+
                 info(_("Vendor: %s\n"), inf->tc.vendor);
                 info(_("Width: %d\n"), inf->ti.frame_width);
                 info(_("Height: %d\n"), inf->ti.frame_height);
@@ -1205,7 +1205,7 @@
 
     if(!gotpage)
         error(_("Error: No ogg data found in file \"%s\".\n"
-                "Input probably not ogg.\n"), filename);
+                "Input probably not Ogg.\n"), filename);
 
     free_stream_set(processors);
 
@@ -1223,7 +1223,7 @@
     printf (_(" by the Xiph.Org Foundation (http://www.xiph.org/)\n\n"));
     printf(_("(c) 2003-2005 Michael Smith <msmith at xiph.org>\n"
              "\n"
-             "Usage: ogginfo [flags] file1.ogg [file2.ogg ... fileN.ogg]\n"
+             "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n"
              "Flags supported:\n"
              "\t-h Show this help message\n"
              "\t-q Make less verbose. Once will remove detailed informative\n"
@@ -1231,7 +1231,6 @@
              "\t-v Make more verbose. This may enable more detailed checks\n"
              "\t   for some stream types.\n"));
     printf (_("\t-V Output version information and exit\n"));
-    /*printf (_("  -V, --version           Output version information and exit\n"));*/
 }
 
 int main(int argc, char **argv) {
@@ -1243,9 +1242,9 @@
 
     if(argc < 2) {
         fprintf(stderr, 
-                _("Usage: ogginfo [flags] file1.ogg [file2.ogg ... fileN.ogg]\n"
+                _("Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n"
                   "\n"
-                  "Ogginfo is a tool for printing information about ogg files\n"
+                  "ogginfo is a tool for printing information about Ogg files\n"
                   "and for diagnosing problems with them.\n"
                   "Full help shown with \"ogginfo -h\".\n"));
         exit(1);



More information about the commits mailing list