[FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order, row by row

Guo, Yejun yejun.guo at intel.com
Mon Apr 15 07:09:23 EEST 2019



> -----Original Message-----
> From: Guo, Yejun
> Sent: Friday, April 12, 2019 9:24 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH] configure: sort decoder/encoder/filter/... names in
> alphabet order, row by row
> 
> take decoder names an example, with the default page length, shell
> command
> 'pr' needs two pages for all the decoder names. The names are firstly printed
> in the first page, then in the second page. So, as a whole, the names are
> sorted neither in column order nor in row order. It's a little confused.
> 
> One method is to calculate the proper page length, so all the names are
> printed
> in one page by 'pr -l', and so strictly in alphabet order, column by column.
> 
> Another method is to use command printf instead of pr, because buybox
> doesn't
> have pr. This patch refines print_in_columns to print the names with printf
> in alphabet order, row by row.

I got an idea to print the names with printf, still column by column, very similar with 'pr -l',
will send out the new patch soon.


More information about the ffmpeg-devel mailing list