MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / show_help_protocol

Function show_help_protocol

fftools/opt_common.c:446–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446static void show_help_protocol(const char *name)
447{
448 const AVClass *proto_class;
449
450 if (!name) {
451 av_log(NULL, AV_LOG_ERROR, "No protocol name specified.\n");
452 return;
453 }
454
455 proto_class = avio_protocol_get_class(name);
456 if (!proto_class) {
457 av_log(NULL, AV_LOG_ERROR, "Unknown protocol '%s'.\n", name);
458 return;
459 }
460
461 show_help_children(proto_class, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM);
462}
463
464static void show_help_muxer(const char *name)
465{

Callers 1

show_helpFunction · 0.85

Calls 3

av_logFunction · 0.85
avio_protocol_get_classFunction · 0.85
show_help_childrenFunction · 0.85

Tested by

no test coverage detected