[winswitch] [xpra-2.2.3] error: 'CODEC_FLAG2_FAST' undeclared

Antoine Martin antoine at nagafix.co.uk
Sun Jan 21 16:15:47 GMT 2018


> xpra/codecs/enc_ffmpeg/encoder.c: In function
> '__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_2init_encoder':
> xpra/codecs/enc_ffmpeg/encoder.c:8092:70: error:
> 'CODEC_FLAG_GLOBAL_HEADER' undeclared (first use in this function); did
> you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
>    __pyx_v_self->video_ctx->flags = (__pyx_v_self->video_ctx->flags |
> CODEC_FLAG_GLOBAL_HEADER);
The ffmpeg encoder is not built by default and you should not enable it
unless you have a specific need for it. If that's the case, you can
apply this patch:
http://xpra.org/trac/changeset/18088

Cheers
Antoine



More information about the shifter-users mailing list