Mercurial > mplayer.hg
changeset 17217:0d8eee43f85c
bitexact flag
author | michael |
---|---|
date | Sun, 18 Dec 2005 01:22:11 +0000 |
parents | 0fd3e0cc4fd0 |
children | cffd0ec5d01a |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sat Dec 17 20:02:47 2005 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Dec 18 01:22:11 2005 +0000 @@ -112,6 +112,7 @@ static char *lavc_param_skip_frame_str = NULL; #endif static int lavc_param_threads=1; +static int lavc_param_bitexact=0; m_option_t lavc_decode_opts_conf[]={ {"bug", &lavc_param_workaround_bugs, CONF_TYPE_INT, CONF_RANGE, -1, 999999, NULL}, @@ -134,6 +135,7 @@ {"skipframe", &lavc_param_skip_frame_str, CONF_TYPE_STRING, 0, 0, 0, NULL}, #endif {"threads", &lavc_param_threads, CONF_TYPE_INT, CONF_RANGE, 1, 8, NULL}, + {"bitexact", &lavc_param_bitexact, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_BITEXACT, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; @@ -270,6 +272,7 @@ #ifdef CODEC_FLAG_NOT_TRUNCATED avctx->flags|= CODEC_FLAG_NOT_TRUNCATED; #endif + avctx->flags|= lavc_param_bitexact; avctx->width = sh->disp_w; avctx->height= sh->disp_h;