[FFmpeg-devel] [PATCH/RFC] Make dvvideo encoder less lenient wrt resolution and pixel format

Tomas Härdin tomas.hardin
Fri Dec 11 13:42:46 CET 2009


On Fri, 2009-12-11 at 13:29 +0100, Michael Niedermayer wrote:
> On Fri, Dec 11, 2009 at 09:17:49AM +0100, Tomas H?rdin wrote:
> > <snip>
> > Index: libavcodec/dv.c
> > ===================================================================
> > --- libavcodec/dv.c	(revision 20796)
> > +++ libavcodec/dv.c	(working copy)
> > @@ -398,6 +398,15 @@
> >      return 0;
> >  }
> >  
> > +static av_cold int dvvideo_init_encoder(AVCodecContext *avctx) {
> > +    if(!ff_dv_codec_profile(avctx)) {
> > +        av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s
> > video\n", avctx->width, avctx->height,
> > avcodec_get_pix_fmt_name(avctx->pix_fmt));
> 
> retry without putting newlines in the middle of patches
> 
> [...]

Odd, I made sure to paste the lines correctly. Probably Evolution doing
things wrong. Attaching the patch to this mail instead.

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv.diff
Type: text/x-patch
Size: 961 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091211/d3b61335/attachment.bin>



More information about the ffmpeg-devel mailing list