Skip to content

Commit

Permalink
Extend show_protocol() to make it print more information.
Browse files Browse the repository at this point in the history
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@24581 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
  • Loading branch information
stefano committed Jul 29, 2010
1 parent 6a73c6d commit 78b32d8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cmdutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,9 +580,18 @@ void show_protocols(void)
{
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)))
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)
Expand Down

0 comments on commit 78b32d8

Please sign in to comment.