[FFmpeg-devel] [PATCH 2/2] avfilter/vf_mergeplanes: specify pixel format min/max
Paul B Mahol
onemda at gmail.com
Sat Dec 7 21:53:04 CET 2013
On 12/7/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavfilter/vf_mergeplanes.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_mergeplanes.c b/libavfilter/vf_mergeplanes.c
> index 06a17fb..4a81412 100644
> --- a/libavfilter/vf_mergeplanes.c
> +++ b/libavfilter/vf_mergeplanes.c
> @@ -53,7 +53,7 @@ typedef struct MergePlanesContext {
> #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
> static const AVOption mergeplanes_options[] = {
> { "mapping", "set input to output plane mapping", OFFSET(mapping),
> AV_OPT_TYPE_INT, {.i64=0}, 0, 0x33333333, FLAGS },
> - { "format", "set output pixel format", OFFSET(out_fmt),
> AV_OPT_TYPE_PIXEL_FMT, {.i64=AV_PIX_FMT_YUVA444P}, .flags=FLAGS },
> + { "format", "set output pixel format", OFFSET(out_fmt),
> AV_OPT_TYPE_PIXEL_FMT, {.i64=AV_PIX_FMT_YUVA444P}, 0, AV_PIX_FMT_NB-1,
> .flags=FLAGS },
> { NULL }
> };
>
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
ok
More information about the ffmpeg-devel
mailing list