summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-20 08:42:09 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-20 08:42:09 +0000
commitc6dafae954d8ab0fa923dc59f672414f5f9f3875 (patch)
tree3bc2d07b3672fe1f1337ec19b72b35fb59c6c0b4 /ffmpeg.c
parent58bba31e3f22bb07645a764602603364b1ec953d (diff)
downloadffmpeg-streaming-c6dafae954d8ab0fa923dc59f672414f5f9f3875.zip
ffmpeg-streaming-c6dafae954d8ab0fa923dc59f672414f5f9f3875.tar.gz
Remove the "bug" OptionDef used for setting the workaround_bugs variable.
Originally committed as revision 6300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 141e5fa..c733a02 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -128,7 +128,6 @@ static int video_codec_id = CODEC_ID_NONE;
static int video_codec_tag = 0;
static int same_quality = 0;
static int do_deinterlace = 0;
-static int workaround_bugs = FF_BUG_AUTODETECT;
static int packet_size = 0;
static int error_rate = 0;
static int strict = 0;
@@ -2103,12 +2102,6 @@ static void opt_video_rc_override_string(char *arg)
video_rc_override_string = arg;
}
-
-static void opt_workaround_bugs(const char *arg)
-{
- workaround_bugs = atoi(arg);
-}
-
static void opt_me_threshold(const char *arg)
{
me_threshold = atoi(arg);
@@ -2731,7 +2724,6 @@ static void opt_input_file(const char *filename)
frame_pix_fmt = enc->pix_fmt;
rfps = ic->streams[i]->r_frame_rate.num;
rfps_base = ic->streams[i]->r_frame_rate.den;
- enc->workaround_bugs = workaround_bugs;
if(enc->lowres) enc->flags |= CODEC_FLAG_EMU_EDGE;
if(me_threshold)
enc->debug |= FF_DEBUG_MV;
@@ -2928,7 +2920,6 @@ static void new_video_stream(AVFormatContext *oc)
video_enc->mb_lmax = video_mb_lmax;
video_enc->max_qdiff = video_qdiff;
video_enc->rc_eq = video_rc_eq;
- video_enc->workaround_bugs = workaround_bugs;
video_enc->thread_count = thread_count;
p= video_rc_override_string;
for(i=0; p; i++){
@@ -3868,7 +3859,6 @@ const OptionDef options[] = {
"method" },
{ "me_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold", "" },
{ "mb_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_mb_threshold}, "macroblock threshold", "" },
- { "bug", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_workaround_bugs}, "workaround not auto detected encoder bugs", "param" },
{ "ps", HAS_ARG | OPT_EXPERT, {(void*)opt_packet_size}, "set packet size in bits", "size" },
{ "error", HAS_ARG | OPT_EXPERT, {(void*)opt_error_rate}, "error rate", "rate" },
{ "strict", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_strict}, "how strictly to follow the standards", "strictness" },
OpenPOWER on IntegriCloud