[FFmpeg-cvslog] r11143 - trunk/ffmpeg.c
michael
subversion
Mon Dec 3 03:05:31 CET 2007
Author: michael
Date: Mon Dec 3 03:05:31 2007
New Revision: 11143
Log:
remove rc_eq specific code, its passed by AVOption now
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Mon Dec 3 03:05:31 2007
@@ -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,
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(AVFormatCon
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", "" },
More information about the ffmpeg-cvslog
mailing list