Mercurial > mplayer.hg
changeset 16016:a5d3b3b4bd4a
add (no)visualize options
author | iive |
---|---|
date | Tue, 19 Jul 2005 17:56:51 +0000 |
parents | af46277c0af8 |
children | 41ca23f65baa |
files | libmpcodecs/ve_x264.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_x264.c Tue Jul 19 16:47:25 2005 +0000 +++ b/libmpcodecs/ve_x264.c Tue Jul 19 17:56:51 2005 +0000 @@ -105,6 +105,7 @@ static int psnr = 0; static int log_level = 2; static int turbo = 0; +static int visualize = 0; m_option_t x264encopts_conf[] = { {"bitrate", &bitrate, CONF_TYPE_INT, CONF_RANGE, 0, 24000000, NULL}, @@ -167,6 +168,8 @@ {"nopsnr", &psnr, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"log", &log_level, CONF_TYPE_INT, CONF_RANGE, -1, 3, NULL}, {"turbo", &turbo, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, + {"visualize", &visualize, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"novisualize", &visualize, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; @@ -255,6 +258,7 @@ mod->param.i_level_idc = level_idc; mod->param.analyse.b_psnr = psnr; mod->param.i_log_level = log_level; + mod->param.b_visualize = visualize; mod->param.vui.i_sar_width = d_width*height; mod->param.vui.i_sar_height = d_height*width; mod->param.i_threads = threads;