1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-04 21:08:03 +02:00
Files
FFmpeg/libavfilter/vf_null.c
T

56 lines
1.5 KiB
C
Raw Normal View History

2009-10-18 09:44:33 +00:00
/*
* This file is part of Libav.
2009-10-18 09:44:33 +00:00
*
* Libav is free software; you can redistribute it and/or
2009-10-18 09:44:33 +00:00
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
2009-10-18 09:44:33 +00:00
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
2009-10-18 09:44:33 +00:00
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* null video filter
2009-10-18 09:44:33 +00:00
*/
2012-08-06 16:49:32 +03:00
#include "libavutil/internal.h"
2009-10-18 09:44:33 +00:00
#include "avfilter.h"
#include "internal.h"
#include "video.h"
2009-10-18 09:44:33 +00:00
static const AVFilterPad avfilter_vf_null_inputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.get_video_buffer = ff_null_get_video_buffer,
},
{ NULL }
};
static const AVFilterPad avfilter_vf_null_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
},
{ NULL }
};
2009-10-18 09:44:33 +00:00
AVFilter avfilter_vf_null = {
.name = "null",
2009-10-27 00:43:45 +00:00
.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
2009-10-18 09:44:33 +00:00
.priv_size = 0,
.inputs = avfilter_vf_null_inputs,
2009-10-18 09:44:33 +00:00
.outputs = avfilter_vf_null_outputs,
2009-10-18 09:44:33 +00:00
};