[xiph-commits] r14841 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Tue May 6 15:28:05 PDT 2008


Author: j
Date: 2008-05-06 15:28:05 -0700 (Tue, 06 May 2008)
New Revision: 14841

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
fixes #1343 allow keying of 1, disable motion compensation

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2008-05-06 14:30:36 UTC (rev 14840)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2008-05-06 22:28:05 UTC (rev 14841)
@@ -1453,7 +1453,7 @@
         "                         crop input by given pixels before resizing\n"
         "  -S, --sharpness        [0 to 2] sharpness of images (default: 0).\n"
         "                          Note: lower values make the video sharper.\n"
-        "  -K, --keyint           [8 to 65536] keyframe interval (default: 64)\n"
+        "  -K, --keyint           [1 to 65536] keyframe interval (default: 64)\n"
         "\n"
         "Video transfer options:\n"
         "  --pp                   Video Postprocessing, denoise, deblock, deinterlacer\n"
@@ -1860,8 +1860,8 @@
                 break;
             case 'K':
                 convert->keyint = atoi(optarg);
-                if (convert->keyint < 8 || convert->keyint > 65536) {
-                    fprintf (stderr, "Only values from 8 to 65536 are valid for keyframe interval.\n");
+                if (convert->keyint < 1 || convert->keyint > 65536) {
+                    fprintf (stderr, "Only values from 1 to 65536 are valid for keyframe interval.\n");
                     exit(1);
                 }
                 break;



More information about the commits mailing list