Hi,

2014-08-20 10:10 GMT+02:00 Christophe Gisquet <christophe.gisq...@gmail.com>:
> +                if (!(av_get_pix_fmt_loss(enc_ctx->pix_fmt, 
> dec_ctx->pix_fmt, 0)
> +                      & (FF_LOSS_DEPTH|FF_LOSS_COLORSPACE|FF_LOSS_CHROMA))) {

If it was ever useful, this is probably wrong and should rather use
AVPixFmtDescriptor information of:
- is it rgb and planar ?
- are all the components using the same bitdepth?

-- 
Christophe
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to