On Thu, Dec 25, 2014 at 02:55:32PM +0100, t...@rothenpieler.org wrote: > From: Timo Rothenpieler <t...@rothenpieler.org> > > --- > libavcodec/nvenc.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index 345fb78..6a37ea6 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcodec/nvenc.c > @@ -155,7 +155,6 @@ typedef struct NvencContext > char *preset; > int cbr; > int twopass; > - int gobpattern; > int gpu; > } NvencContext; > > @@ -582,6 +581,12 @@ static av_cold int nvenc_encode_init(AVCodecContext > *avctx) > memcpy(&ctx->encode_config, &preset_config.presetCfg, > sizeof(ctx->encode_config)); > ctx->encode_config.version = NV_ENC_CONFIG_VER; > > + if (avctx->max_b_frames < -1) > + avctx->max_b_frames = -1;
how do you get a value < -1 here ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 1 "Used only once" - "Some unspecified defect prevented a second use" "In good condition" - "Can be repaird by experienced expert" "As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel