diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 18:10:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-12 18:10:35 +0100 |
commit | 5743095ca9566db981b8fe113fc4f330dda5798a (patch) | |
tree | 6b41bfefa2e2ceb11acb489108ce3ad7e72f5922 /cmdutils.h | |
parent | 6b6b0e9daed339ed8da7606a8b043aed6ee2a4c4 (diff) | |
parent | 9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38 (diff) | |
download | ffmpeg-5743095ca9566db981b8fe113fc4f330dda5798a.tar.gz |
Merge commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38'
* commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38':
avconv: print an error on applying options of the wrong type.
atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize
output-example: Update to use encode_video2 instead of the now dropped encode_video
Conflicts:
doc/examples/muxing.c
ffmpeg_opt.c
libavutil/atomic.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index cce516d1ec..54f0be838a 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -162,6 +162,8 @@ typedef struct OptionDef { an int containing element count in the array. */ #define OPT_TIME 0x10000 #define OPT_DOUBLE 0x20000 +#define OPT_INPUT 0x40000 +#define OPT_OUTPUT 0x80000 union { void *dst_ptr; int (*func_arg)(void *, const char *, const char *); @@ -242,6 +244,11 @@ typedef struct OptionGroupDef { * are terminated by a non-option argument (e.g. ffmpeg output files) */ const char *sep; + /** + * Option flags that must be set on each option that is + * applied to this group + */ + int flags; } OptionGroupDef; typedef struct OptionGroup { |