]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Rename invalid option name "gop" to "g" in opt_target(), so that
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 16 Jul 2009 22:32:41 +0000 (22:32 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 16 Jul 2009 22:32:41 +0000 (22:32 +0000)
-target *-dvd works correctly.

Patch by Lou Logan <$firstname@fakeoutdoorsman com>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19447 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffmpeg.c

index 22bfed8dc2ee479b75af795d690b0ca9373dbf5a..643166f93919af72fd893a84076161552a3cba66 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3656,7 +3656,7 @@ static void opt_target(const char *arg)
 
         opt_frame_size(norm ? "352x240" : "352x288");
         opt_frame_rate(NULL, frame_rates[norm]);
-        opt_default("gop", norm ? "18" : "15");
+        opt_default("g", norm ? "18" : "15");
 
         opt_default("b", "1150000");
         opt_default("maxrate", "1150000");
@@ -3684,7 +3684,7 @@ static void opt_target(const char *arg)
 
         opt_frame_size(norm ? "480x480" : "480x576");
         opt_frame_rate(NULL, frame_rates[norm]);
-        opt_default("gop", norm ? "18" : "15");
+        opt_default("g", norm ? "18" : "15");
 
         opt_default("b", "2040000");
         opt_default("maxrate", "2516000");
@@ -3706,7 +3706,7 @@ static void opt_target(const char *arg)
 
         opt_frame_size(norm ? "720x480" : "720x576");
         opt_frame_rate(NULL, frame_rates[norm]);
-        opt_default("gop", norm ? "18" : "15");
+        opt_default("g", norm ? "18" : "15");
 
         opt_default("b", "6000000");
         opt_default("maxrate", "9000000");