lavd/lavfi: support unknown channel layouts.
(cherry picked from commit 863fb11f63)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Carl Eugen Hoyos
					
				
			
			
				
	
			
			
			
						parent
						
							93716f7bea
						
					
				
				
					commit
					8f7d839e15
				
			@@ -248,6 +248,10 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx)
 | 
			
		||||
                ret = av_opt_set_int_list(sink, "sample_fmts", sample_fmts,  AV_SAMPLE_FMT_NONE, AV_OPT_SEARCH_CHILDREN);
 | 
			
		||||
            if (ret < 0)
 | 
			
		||||
                goto end;
 | 
			
		||||
            ret = av_opt_set_int(sink, "all_channel_counts", 1,
 | 
			
		||||
                                 AV_OPT_SEARCH_CHILDREN);
 | 
			
		||||
            if (ret < 0)
 | 
			
		||||
                goto end;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        lavfi->sinks[i] = sink;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user