mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-24 17:32:22 +08:00
Extend show_protocols() to make it print information about input,
output, seek support. Originally committed as revision 24581 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
13
cmdutils.c
13
cmdutils.c
@@ -580,9 +580,18 @@ void show_protocols(void)
|
|||||||
{
|
{
|
||||||
URLProtocol *up=NULL;
|
URLProtocol *up=NULL;
|
||||||
|
|
||||||
printf("Supported file protocols:\n");
|
printf("Supported file protocols:\n"
|
||||||
|
"I.. = Input supported\n"
|
||||||
|
".O. = Output supported\n"
|
||||||
|
"..S = Seek supported\n"
|
||||||
|
"FLAGS NAME\n"
|
||||||
|
"----- \n");
|
||||||
while((up = av_protocol_next(up)))
|
while((up = av_protocol_next(up)))
|
||||||
printf("%s\n", up->name);
|
printf("%c%c%c %s\n",
|
||||||
|
up->url_read ? 'I' : '.',
|
||||||
|
up->url_write ? 'O' : '.',
|
||||||
|
up->url_seek ? 'S' : '.',
|
||||||
|
up->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void show_filters(void)
|
void show_filters(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user