diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-17 03:20:50 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-28 19:13:14 +0400 |
commit | ce23ca814b0fa6327b21e03be09b81f9b0d7113d (patch) | |
tree | bc6f338905263d7b7bea0fd83d169bdecf06a048 | |
parent | 7cea06d135c91bf21f3d2a095c2f610594bed7df (diff) |
cmdutils: clarify documentation for filter_codec_opts()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | cmdutils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index 90e0a25850..dcd0b79a1f 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -150,6 +150,12 @@ void parse_options(int argc, char **argv, const OptionDef *options, /** * 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); |