summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-15 18:43:42 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-15 18:43:42 +0000
commitdebe5ce152b8739dba0e5ae7b6f95d387e832a9c (patch)
tree7ca6b3c43151d510b9c9182ec67196ac6eee440d /ffmpeg.c
parent3c96abacf099fad19023bd6c2cf2dec8ea1d5726 (diff)
downloadffmpeg-streaming-debe5ce152b8739dba0e5ae7b6f95d387e832a9c.zip
ffmpeg-streaming-debe5ce152b8739dba0e5ae7b6f95d387e832a9c.tar.gz
Remove the "b_qfactor" OptionDef option from ffmpeg.c. The equally named
"b_qfactor" AVOption takes over its function and this occurs transparantly. Originally committed as revision 6269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1a5a54f..f8bd9c2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -127,7 +127,6 @@ static char *video_rc_eq="tex^qComp";
static int video_rc_buffer_size=0;
static float video_rc_buffer_aggressivity=1.0;
static float video_rc_initial_cplx=0;
-static float video_b_qfactor = 1.25;
static float video_b_qoffset = 1.25;
static float video_i_qfactor = -0.8;
static float video_i_qoffset = 0.0;
@@ -2452,10 +2451,6 @@ static void opt_rc_initial_cplx(const char *arg)
{
video_rc_initial_cplx = atof(arg);
}
-static void opt_b_qfactor(const char *arg)
-{
- video_b_qfactor = atof(arg);
-}
static void opt_i_qfactor(const char *arg)
{
video_i_qfactor = atof(arg);
@@ -3058,7 +3053,6 @@ static void new_video_stream(AVFormatContext *oc)
video_enc->rc_buffer_aggressivity= video_rc_buffer_aggressivity;
video_enc->rc_initial_cplx= video_rc_initial_cplx;
video_enc->i_quant_factor = video_i_qfactor;
- video_enc->b_quant_factor = video_b_qfactor;
video_enc->i_quant_offset = video_i_qoffset;
video_enc->b_quant_offset = video_b_qoffset;
video_enc->me_threshold= me_threshold;
@@ -3972,7 +3966,6 @@ const OptionDef options[] = {
{ "qdiff", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qdiff}, "max difference between the quantiser scale (VBR)", "q" },
{ "qsquish", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qsquish}, "how to keep quantiser between qmin and qmax (0 = clip, 1 = use differentiable function)", "squish" },
{ "rc_init_cplx", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_rc_initial_cplx}, "initial complexity for 1-pass encoding", "complexity" },
- { "b_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_qfactor}, "qp factor between p and b frames", "factor" },
{ "i_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qfactor}, "qp factor between p and i frames", "factor" },
{ "b_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_qoffset}, "qp offset between p and b frames", "offset" },
{ "i_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qoffset}, "qp offset between p and i frames", "offset" },
OpenPOWER on IntegriCloud