[xiph-commits] r14540 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Mon Feb 25 00:17:07 PST 2008


Author: j
Date: 2008-02-25 00:17:06 -0800 (Mon, 25 Feb 2008)
New Revision: 14540

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.1
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
add contact tag

Modified: trunk/ffmpeg2theora/ffmpeg2theora.1
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.1	2008-02-23 22:18:15 UTC (rev 14539)
+++ trunk/ffmpeg2theora/ffmpeg2theora.1	2008-02-25 08:17:06 UTC (rev 14540)
@@ -170,6 +170,9 @@
 .TP
 .B \-\-license
 License.
+.TP
+.B \-\-contact
+Contact link.
 .SS Other options:
 .TP
 .B \-\-nice n

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2008-02-23 22:18:15 UTC (rev 14539)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2008-02-25 08:17:06 UTC (rev 14540)
@@ -1123,6 +1123,7 @@
         "      --organization     Name of organization (studio)\n"
         "      --copyright        Copyright\n"
         "      --license          License\n"
+        "      --contact          Contact link\n"
         "\n"
         "Other options:\n"
 #ifndef _WIN32
@@ -1220,6 +1221,8 @@
       {"organization",required_argument,&metadata_flag,14},
       {"copyright",required_argument,&metadata_flag,15},
       {"license",required_argument,&metadata_flag,16},
+      {"contact",required_argument,&metadata_flag,17},
+      {"source-hash",required_argument,&metadata_flag,18},
 
       {"help",0,NULL,'h'},
       {NULL,0,NULL,0}
@@ -1342,6 +1345,12 @@
                         case 16:
                             theora_comment_add_tag(&info.tc, "LICENSE", optarg);
                             break;
+                        case 17:
+                            theora_comment_add_tag(&info.tc, "CONTACT", optarg);
+                            break;
+                        case 18:
+                            theora_comment_add_tag(&info.tc, "SOURCE HASH", optarg);
+                            break;
                     }
                     metadata_flag=0;
                 }



More information about the commits mailing list