[FFmpeg-devel] [PATCH]Implement max_lowres

Michael Niedermayer michaelni
Mon Jul 5 16:40:59 CEST 2010


On Mon, Jul 05, 2010 at 01:03:40PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> First version attached. Is there an API-change or Changelog entry needed?
> Note that this should not be held back because of the obvious regressions:
> ffmpeg -lowres is currently broken for default configure anyway;-)
> 
> Please comment, Carl Eugen

i dont think mpeg1/2 are the only that support lowres
[...]>      if(avctx->codec->init){
> +        if(avctx->codec->max_lowres < avctx->lowres){
> +            av_log(avctx, AV_LOG_ERROR, "The maximum value for lowres supported by the decoder is %d\n",
> +                   avctx->codec->max_lowres);
> +        goto free_and_end;
> +        }

indent...
[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100705/20f27750/attachment.pgp>



More information about the ffmpeg-devel mailing list