Browse Source

cmdutils: clarify documentation for filter_codec_opts()

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.9
Stefano Sabatini Anton Khirnov 14 years ago
parent
commit
ce23ca814b
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      cmdutils.h

+ 6
- 0
cmdutils.h View File

@@ -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);




Loading…
Cancel
Save