[xiph-commits] r15448 - trunk/theora/examples
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Thu Oct 23 15:17:57 PDT 2008
Author: xiphmont
Date: 2008-10-23 15:17:56 -0700 (Thu, 23 Oct 2008)
New Revision: 15448
Modified:
trunk/theora/examples/encoder_example.c
trunk/theora/examples/png2theora.c
Log:
apply patches for bugs #1444 and #1445
Modified: trunk/theora/examples/encoder_example.c
===================================================================
--- trunk/theora/examples/encoder_example.c 2008-10-23 22:09:25 UTC (rev 15447)
+++ trunk/theora/examples/encoder_example.c 2008-10-23 22:17:56 UTC (rev 15448)
@@ -68,11 +68,11 @@
{"video-rate-target",required_argument,NULL,'V'},
{"audio-quality",required_argument,NULL,'a'},
{"video-quality",required_argument,NULL,'v'},
- {"aspect-numerator",optional_argument,NULL,'s'},
- {"aspect-denominator",optional_argument,NULL,'S'},
- {"framerate-numerator",optional_argument,NULL,'f'},
- {"framerate-denominator",optional_argument,NULL,'F'},
- {"vp3-compatible",0,NULL,'c'},
+ {"aspect-numerator",required_argument,NULL,'s'},
+ {"aspect-denominator",required_argument,NULL,'S'},
+ {"framerate-numerator",required_argument,NULL,'f'},
+ {"framerate-denominator",required_argument,NULL,'F'},
+ {"vp3-compatible",no_argument,NULL,'c'},
{NULL,0,NULL,0}
};
Modified: trunk/theora/examples/png2theora.c
===================================================================
--- trunk/theora/examples/png2theora.c 2008-10-23 22:09:25 UTC (rev 15447)
+++ trunk/theora/examples/png2theora.c 2008-10-23 22:17:56 UTC (rev 15448)
@@ -60,16 +60,16 @@
static char *input_filter;
-const char *optstring = "o:h:v:V:s:S:f:F:";
+const char *optstring = "o:hv:V:s:S:f:F:";
struct option options [] = {
{"output",required_argument,NULL,'o'},
- {"help",optional_argument,NULL,'h'},
+ {"help",no_argument,NULL,'h'},
{"video-rate-target",required_argument,NULL,'V'},
{"video-quality",required_argument,NULL,'v'},
- {"aspect-numerator",optional_argument,NULL,'s'},
- {"aspect-denominator",optional_argument,NULL,'S'},
- {"framerate-numerator",optional_argument,NULL,'f'},
- {"framerate-denominator",optional_argument,NULL,'F'},
+ {"aspect-numerator",required_argument,NULL,'s'},
+ {"aspect-denominator",required_argument,NULL,'S'},
+ {"framerate-numerator",required_argument,NULL,'f'},
+ {"framerate-denominator",required_argument,NULL,'F'},
{NULL,0,NULL,0}
};
More information about the commits
mailing list