[FFmpeg-devel] [misc-filters PATCH 2/5] Add color source.

Stefano Sabatini stefano.sabatini-lala
Sat Jul 17 12:19:37 CEST 2010


On date Friday 2010-07-16 23:12:20 +0200, Michael Niedermayer encoded:
> On Fri, Jul 16, 2010 at 06:58:13PM +0200, Stefano Sabatini wrote:
> > On date Friday 2010-07-02 00:25:56 +0200, Michael Niedermayer encoded:
> > > On Thu, Jul 01, 2010 at 11:12:02PM +0200, Stefano Sabatini wrote:
> > > > On date Thursday 2010-07-01 13:26:07 +0200, Michael Niedermayer encoded:
> > > > > On Wed, Jun 30, 2010 at 01:42:12AM +0200, Stefano Sabatini wrote:
> > > > > [...]
> > > > > > +static int color_config_props(AVFilterLink *inlink)
> [...]
> > +static av_cold int color_init(AVFilterContext *ctx, const char *args, void *opaque)
> > +{
> > +    ColorContext *color = ctx->priv;
> > +    char color_string[128] = "black";
> > +    char frame_size  [128] = "320x240";
> > +    char frame_rate  [128] = "25";
> > +    AVRational frame_rate_q;
> > +    int ret;
> > +
> > +    if (args)
> > +        sscanf(args, "%128[^:]:%128[^:]:%128s", color_string, frame_size, frame_rate);
> 
> shouldnt these be 127

Yes, fixed.
 
> except that the patch might be ok if tested and noone has comments

Applied.



More information about the ffmpeg-devel mailing list