Skip to content
Snippets Groups Projects
Commit ce23ca81 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Anton Khirnov
Browse files

cmdutils: clarify documentation for filter_codec_opts()


Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 7cea06d1
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,12 @@ void parse_options(int argc, char **argv, const OptionDef *options, ...@@ -150,6 +150,12 @@ void parse_options(int argc, char **argv, const OptionDef *options,
/** /**
* Filter out options for given codec. * Filter out options for given codec.
*
* Create a new options dictionary containing only the options from
* opts which apply to the codec with ID codec_id.
*
* @param encoder if non-zero the codec is an encoder, otherwise is a decoder
* @return a pointer to the created dictionary
*/ */
AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int encoder); AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int encoder);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment