lavfi/stereo3d: switch to an AVOptions-based system.
This commit is contained in:
		
							parent
							
								
									a689a6b698
								
							
						
					
					
						commit
						d5226fc575
					
				@ -5181,8 +5181,7 @@ is set.
 | 
			
		||||
 | 
			
		||||
Convert between different stereoscopic image formats.
 | 
			
		||||
 | 
			
		||||
This filter accepts the following named options, expressed as a
 | 
			
		||||
sequence of @var{key}=@var{value} pairs, separated by ":".
 | 
			
		||||
The filters accept the following options:
 | 
			
		||||
 | 
			
		||||
@table @option
 | 
			
		||||
@item in
 | 
			
		||||
 | 
			
		||||
@ -703,6 +703,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
 | 
			
		||||
        !strcmp(filter->filter->name, "showspectrum") ||
 | 
			
		||||
        !strcmp(filter->filter->name, "silencedetect") ||
 | 
			
		||||
        !strcmp(filter->filter->name, "smartblur") ||
 | 
			
		||||
        !strcmp(filter->filter->name, "stereo3d" ) ||
 | 
			
		||||
        !strcmp(filter->filter->name, "subtitles") ||
 | 
			
		||||
        !strcmp(filter->filter->name, "thumbnail") ||
 | 
			
		||||
        !strcmp(filter->filter->name, "transpose") ||
 | 
			
		||||
 | 
			
		||||
@ -440,8 +440,6 @@ static const AVFilterPad stereo3d_outputs[] = {
 | 
			
		||||
    { NULL }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const char *const shorthand[] = { "in", "out", NULL };
 | 
			
		||||
 | 
			
		||||
AVFilter avfilter_vf_stereo3d = {
 | 
			
		||||
    .name          = "stereo3d",
 | 
			
		||||
    .description   = NULL_IF_CONFIG_SMALL("Convert video stereoscopic 3D view."),
 | 
			
		||||
@ -450,5 +448,4 @@ AVFilter avfilter_vf_stereo3d = {
 | 
			
		||||
    .inputs        = stereo3d_inputs,
 | 
			
		||||
    .outputs       = stereo3d_outputs,
 | 
			
		||||
    .priv_class    = &stereo3d_class,
 | 
			
		||||
    .shorthand     = shorthand,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user