[FFmpeg-user] Creating filter : PixelFormat issue

vicky.budhiraja vicky.budhiraja at sitarasoft.com
Thu Jun 23 12:50:19 CEST 2011


Hello All,

I a trying to create a custom filter and writing the following code:

...SNIP...
    const enum PixelFormat inout_pix_fmts[] = { PIX_FMT_YUV420P, 
PIX_FMT_NONE };
    const enum PixelFormat blend_pix_fmts[] = { PIX_FMT_YUVA420P,
PIX_FMT_NONE };
    AVFilterFormats *inout_formats =
avfilter_make_format_list(inout_pix_fmts);
    AVFilterFormats *blend_formats =
avfilter_make_format_list(blend_pix_fmts);
...SNIP...

but I am getting the following erros:
'avfilter_make_format_list' : cannot convert parameter 1 from 'const
PixelFormat [2]' to 'const int *'

I am referring the code from vf_overlay.c

Am I missing something? Any help, suggestions, clue will be helpful.

Thanks in Advance,
Vicky



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Creating-filter-PixelFormat-issue-tp3619467p3619467.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list