aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorLou Logan <lou@fakeoutdoorsman.com>2009-07-16 22:32:41 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-07-16 22:32:41 +0000
commit64cd8050714bb2c4a3a410e374c17ae645f3b55f (patch)
tree2f999fb9bae78bea6faffc57ae402980c56b8835 /ffmpeg.c
parentb0f0c430515c06a203655811a240c14a09731743 (diff)
downloadffmpeg-64cd8050714bb2c4a3a410e374c17ae645f3b55f.tar.gz
Rename invalid option name "gop" to "g" in opt_target(), so that
-target *-dvd works correctly. Patch by Lou Logan <$firstname@fakeoutdoorsman com>. Originally committed as revision 19447 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 22bfed8dc2..643166f939 100644
--- 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");