| 
									
										
										
										
											2009-10-18 09:44:33 +00:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * This file is part of FFmpeg. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * FFmpeg is free software; you can redistribute it and/or | 
					
						
							|  |  |  |  * 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. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * FFmpeg is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  * 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 FFmpeg; if not, write to the Free Software | 
					
						
							|  |  |  |  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /**
 | 
					
						
							| 
									
										
										
										
											2010-04-20 14:45:34 +00:00
										 |  |  |  * @file | 
					
						
							| 
									
										
										
										
											2009-10-18 23:00:11 +00:00
										 |  |  |  * null video filter | 
					
						
							| 
									
										
										
										
											2009-10-18 09:44:33 +00:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "avfilter.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 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, | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-05 14:39:24 +01:00
										 |  |  |     .inputs    = (const AVFilterPad[]) {{ .name       = "default", | 
					
						
							| 
									
										
										
										
											2010-03-30 23:30:55 +00:00
										 |  |  |                                     .type             = AVMEDIA_TYPE_VIDEO, | 
					
						
							| 
									
										
										
										
											2010-03-18 23:13:02 +00:00
										 |  |  |                                     .get_video_buffer = avfilter_null_get_video_buffer, | 
					
						
							|  |  |  |                                     .start_frame      = avfilter_null_start_frame, | 
					
						
							|  |  |  |                                     .end_frame        = avfilter_null_end_frame }, | 
					
						
							| 
									
										
										
										
											2009-10-18 09:44:33 +00:00
										 |  |  |                                   { .name = NULL}}, | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-05 14:39:24 +01:00
										 |  |  |     .outputs   = (const AVFilterPad[]) {{ .name       = "default", | 
					
						
							| 
									
										
										
										
											2010-03-30 23:30:55 +00:00
										 |  |  |                                     .type             = AVMEDIA_TYPE_VIDEO, }, | 
					
						
							| 
									
										
										
										
											2009-10-18 09:44:33 +00:00
										 |  |  |                                   { .name = NULL}}, | 
					
						
							|  |  |  | }; |