Commit d7cbb1b4 authored by Jan Gerber's avatar Jan Gerber
Browse files

add contact tag

parent 0660f6c0
......@@ -170,6 +170,9 @@ Copyright.
.TP
.B \-\-license
License.
.TP
.B \-\-contact
Contact link.
.SS Other options:
.TP
.B \-\-nice n
......
......@@ -1123,6 +1123,7 @@ void print_usage (){
" --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 @@ int main (int argc, char **argv){
{"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 @@ int main (int argc, char **argv){
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;
}
......
Supports Markdown
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