You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/asyncts: use AV_OPT_TYPE_BOOL for compensate option
This commit is contained in:
		| @@ -53,7 +53,7 @@ typedef struct ASyncContext { | ||||
| #define A AV_OPT_FLAG_AUDIO_PARAM | ||||
| #define F AV_OPT_FLAG_FILTERING_PARAM | ||||
| static const AVOption asyncts_options[] = { | ||||
|     { "compensate", "Stretch/squeeze the data to make it match the timestamps", OFFSET(resample),      AV_OPT_TYPE_INT,   { .i64 = 0 },   0, 1,       A|F }, | ||||
|     { "compensate", "Stretch/squeeze the data to make it match the timestamps", OFFSET(resample),      AV_OPT_TYPE_BOOL,  { .i64 = 0 },   0, 1,       A|F }, | ||||
|     { "min_delta",  "Minimum difference between timestamps and audio data " | ||||
|                     "(in seconds) to trigger padding/trimmin the data.",        OFFSET(min_delta_sec), AV_OPT_TYPE_FLOAT, { .dbl = 0.1 }, 0, INT_MAX, A|F }, | ||||
|     { "max_comp",   "Maximum compensation in samples per second.",              OFFSET(max_comp),      AV_OPT_TYPE_INT,   { .i64 = 500 }, 0, INT_MAX, A|F }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user