summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-03 02:05:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-03 02:05:31 +0000
commite5152216184d5648aed414a380c3d522df92bfad (patch)
treef1af763c9f21dddb9d4e5fdcee01fbc7676b2278 /ffmpeg.c
parent4b59cf6c1c93c6c40f27062aa5b91ff214a78aec (diff)
Remove rc_eq-specific code, it is passed by AVOption now.
Originally committed as revision 11143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 3f8ff96f05..4997a58e6e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -126,7 +126,6 @@ static float video_rc_qmod_amp=0;
static int video_rc_qmod_freq=0;
#endif
static char *video_rc_override_string=NULL;
-static char *video_rc_eq="tex^qComp";
static int video_disable = 0;
static int video_discard = 0;
static char *video_codec_name = NULL;
@@ -2174,11 +2173,6 @@ static int opt_default(const char *opt, const char *arg){
return 0;
}
-static void opt_video_rc_eq(char *arg)
-{
- video_rc_eq = arg;
-}
-
static void opt_video_rc_override_string(char *arg)
{
video_rc_override_string = arg;
@@ -2948,7 +2942,6 @@ static void new_video_stream(AVFormatContext *oc)
video_enc->inter_matrix = inter_matrix;
video_enc->max_qdiff = video_qdiff;
- video_enc->rc_eq = video_rc_eq;
video_enc->thread_count = thread_count;
p= video_rc_override_string;
for(i=0; p; i++){
@@ -3774,7 +3767,6 @@ const OptionDef options[] = {
{ "vdt", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_discard}, "discard threshold", "n" },
{ "qscale", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qscale}, "use fixed video quantizer scale (VBR)", "q" },
{ "qdiff", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qdiff}, "max difference between the quantizer scale (VBR)", "q" },
- { "rc_eq", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_eq}, "set rate control equation", "equation" },
{ "rc_override", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_override_string}, "rate control override for specific intervals", "override" },
{ "vcodec", HAS_ARG | OPT_VIDEO, {(void*)opt_video_codec}, "force video codec ('copy' to copy stream)", "codec" },
{ "me_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold", "" },