fftools/ffplay: allow unused format options which are also codec options
Same as it is handled in ffmpeg, allows using -ch_layout codec option. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
		
							parent
							
								
									4d97557137
								
							
						
					
					
						commit
						ed927f2f0c
					
				@ -2858,6 +2858,7 @@ static int read_thread(void *arg)
 | 
			
		||||
    }
 | 
			
		||||
    if (scan_all_pmts_set)
 | 
			
		||||
        av_dict_set(&format_opts, "scan_all_pmts", NULL, AV_DICT_MATCH_CASE);
 | 
			
		||||
    remove_avoptions(&format_opts, codec_opts);
 | 
			
		||||
 | 
			
		||||
    ret = check_avoptions(format_opts);
 | 
			
		||||
    if (ret < 0)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user