On Wed, Oct 25, 2017 at 01:37:07AM +0000, Li, Zhong wrote:
> > -----Original Message-----
> > From: libav-devel [mailto:[email protected]] On Behalf Of Mark
> > Thompson
> > Sent: Wednesday, October 25, 2017 7:29 AM
> > To: libav development <[email protected]>
> > Subject: [libav-devel] [PATCH 1/2] vaapi_h264: Add workaround for bad SEI
> > in old Intel drivers
> > 
> > --- a/libavcodec/vaapi_encode_h264.c
> > +++ b/libavcodec/vaapi_encode_h264.c
> > @@ -608,6 +622,10 @@ static int
> > vaapi_encode_h264_init_picture_params(AVCodecContext *avctx,
> > 
> >      if (opt->sei & SEI_IDENTIFIER && pic->encode_order == 0)
> >          priv->sei_needed = 1;
> > +#if !HAVE_VAAPI_1
> > +    if (ctx->va_rc_mode == VA_RC_CBR)
> > +        priv->sei_cbr_workaround_needed = 1; #endif
> 
> LGMT as a whole. Should have a new line for "#endif"? 

Yes.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to